在Mac OS X 10.6上安装适用于Python 3的numpy和matplotlib时出现Curl错误
Matplotlib最近已经发布了。要安装matplotlib,需要numpy 我按照安装matplotlib的说明进行操作。我尝试根据安装numpy(希望它足够相似),但终端在第一个命令时卡住了:在Mac OS X 10.6上安装适用于Python 3的numpy和matplotlib时出现Curl错误,curl,numpy,python-3.x,matplotlib,libcurl,Curl,Numpy,Python 3.x,Matplotlib,Libcurl,Matplotlib最近已经发布了。要安装matplotlib,需要numpy 我按照安装matplotlib的说明进行操作。我尝试根据安装numpy(希望它足够相似),但终端在第一个命令时卡住了: $curl http://python-distribute.org/distribute_setup.py | python3 dyld: Library not loaded: @rpath/libcurl.4.dylib Referenced from: /Library/Framewo
$curl http://python-distribute.org/distribute_setup.py | python3
dyld: Library not loaded: @rpath/libcurl.4.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/Current/bin/curl
Reason: Incompatible library version: curl requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
与第二个相同(如预期):
关于如何修正卷曲误差有什么想法吗 从中,我找到了更新curl的说明
但我担心下载Mac安全版本,所以我去了,滚动到Mac部分,在苹果网站上选择了一个
最后,我决定将此版本作为附加curl安装(即,不替换系统curl),因此以下是修改后的说明:
$CFLAGS=-m64./configure--prefix=
pathname
$make
$sudo make安装
$ ./curl URL_OF_DOWNLOAD | python3
您确定他们已经发布了Python 3支持吗?您的链接只指向VCS存储库。python3的Matplotlib最初是一个单独的分支,但后来它重新集成到主分支中。这是在过去几个月内发生的。但是分支不是发布。释放是生产者(上游或下游)所称的释放。
$ ./curl URL_OF_DOWNLOAD | python3