この回答matplotlib
の指示に従って、Windows 10 (64 ビット)、Python バージョン3.9に. Christoph Gohlke のWeb サイトで確認したところ、適切なバージョンが利用できるようです。これをインストールする前に、両方とも成功しました。pipwin
numpy
scipy
のインストールが失敗する理由がわかりませんmatplotlib
。
これが生成されたエラーです。
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Ayon\\AppData\\Local\\Temp\\pip-install-lshx07yt\\kiwisolver\\setup.py'"'"'; __file__='"'"'C:\\Users\\Ayon\\AppData\\Local\\Temp\\pip-install-lshx07yt\\kiwisolver\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Ayon\AppData\Local\Temp\pip-pip-egg-info-t2ll_1bu'
cwd: C:\Users\Ayon\AppData\Local\Temp\pip-install-lshx07yt\kiwisolver\
Complete output (44 lines):
WARNING: The wheel package is not available.
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Ayon\\AppData\\Local\\Temp\\pip-wheel-53baidv2\\cppy\\setup.py'"'"'; __file__='"'"'C:\\Users\\Ayon\\AppData\\Local\\Temp\\pip-wheel-53baidv2\\cppy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Ayon\AppData\Local\Temp\pip-wheel-z0wi26qr'
cwd: C:\Users\Ayon\AppData\Local\Temp\pip-wheel-53baidv2\cppy\
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for cppy
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File "c:\program files\python39\lib\site-packages\setuptools\installer.py", line 128, in fetch_build_egg
subprocess.check_call(cmd)
File "c:\program files\python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\\program files\\python39\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\Ayon\\AppData\\Local\\Temp\\tmpobepce7l', '--quiet', 'cppy>=1.1.0']' returned non-zero exit status 1.