我想在windows中的pypy上安装matplotlib,但我做不到



我想在windows中的pypy上安装matplotlib,但无法

这是我的错误:

Building wheel for pillow (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:pypy3.7-v7.3.4-win64pypy3.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\mypc\AppData\Local\Temp\pip-install-aldxfgwi\pillow_36442a23e4bc45babfe05dc3de237b82\setup.py'"'"'; __file__='"'"'C:\Users\mypc\AppData\Local\Temp\pip-install-aldxfgwi\pillow_36442a23e4bc45babfe05dc3de237b82\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:UsersmypcAppDataLocalTemppip-wheel-sghjaqiu'

错误:命令出错,退出状态为1:'C:\pypy3.7-v7.3.4-win64\pypy3.exe'-u-C'导入io,os,sys,setuptools,标记化;sys.argv[0]=""'C: \Users\mypc\AppData\Local\Temp\pip安装aldxfgwi\枕套_36442a23e4bc45babfe05dc3de237b82\setup.py""';文件=""'C: \Users\mypc\AppData\Local\Temp\pip安装aldxfgwi\pilow_36442a23e4bc45babfe05dc3de237b82\setup.py""';f=getattr(标记化,'"'open'",打开((文件(如果os.path.存在(file设置;setup((""'(;code=f.read((.replace('"'"'\r\n'"'",""'\n’"quot;'(;f.关闭((;exec(编译(代码,文件,'"'exec'"'('安装--记录'C:\Users\mypc\AppData\Local\Temp\pip-record-185nr5jz\install record.txt'--单一版本外部管理--compile--install headers'C:\pypy3.7-v7.3.4-win64\include\plocker'检查日志是否完整命令输出。

我在PYPY上安装matplotlib时遇到了同样的问题。原因是PYPY中没有安装matplotlib的一些依赖项。我的解决方案是在matplotlib之前安装numpy。它对我有效。这里显示了命令:

pip_pypy install numpy

pip_pypy install matplotlib

最新更新