Repository navigation
Python 包 matplotlib 安装的一些问题 #97
shenweiyan
announced in
1.3-软件
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Python 的 matplotlib 在安装的过程中一直无法解决 freetype2 自动下载的问题,导致始终安装不成功。
Python-3.10.16 通过本地(或者是在线)方式安装 matplotlib-3.10.0 的时候,发现对应
freetype2、qhull通过对应的 URL 无法正常下载,以至于matplotlib一直安装不成功,详细信息如下面代码所示。对于这种情况,可以:
根据提示给出的 URL 下载好相应的依赖(这个 URL 也可以在
matplotlib-3.10.0/subprojects/*.wrap中找到),并把依赖包保存的服务器任何一个目录下。/bioinfo/src/py/freetype-2.6.1.tar.gz;/bioinfo/src/py/qhull-8.0.2.tar.gz修改
matplotlib-3.10.0/subprojects/*.wrap。最后,再次执行安装。
pip3 install .All reactions