Cygwin上でPandasやScipyなどのインストールを試しています。
シミュレーションのプログラムを動かすうえで上記のパッケージをインストールしたいのですが
Python3 -m pip install matplotlib
を書いた後多くの赤字が出て、すべての場合で以下のエラーメッセージが発生しました。
Python3
1 ERROR: Complete output from command /usr/bin/Python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-2iedylp7/kiwisolver/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-2u43qpmd/install-record.txt --single-version-externally-managed --compile: 2 ERROR: running install 3 running build 4 running build_ext 5 building 'kiwisolver' extension 6 creating build 7 creating build/temp.cygwin-3.0.7-x86_64-3.6 8 creating build/temp.cygwin-3.0.7-x86_64-3.6/py 9 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.x86_64/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.x86_64/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.x86_64/build=/usr/src/debug/python36-3.6.8-1 -fdebug-prefix-map=/usr/src/ports/python36/python36-3.6.8-1.x86_64/src/Python-3.6.8=/usr/src/debug/python36-3.6.8-1 -I. -I/usr/include/python3.6m -c py/kiwisolver.cpp -o build/temp.cygwin-3.0.7-x86_64-3.6/py/kiwisolver.o 10 In file included from py/kiwisolver.cpp:8:0: 11 /usr/include/python3.6m/Python.h:39:10: fatal error: crypt.h: No such file or directory 12 #include <crypt.h> 13 ^~~~~~~~~ 14 compilation terminated. 15 error: command 'gcc' failed with exit status 1 16 ---------------------------------------- 17ERROR: Command "/usr/bin/Python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-2iedylp7/kiwisolver/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-2u43qpmd/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-2iedylp7/kiwisolver/ 18
試したこと
katsuko様のおっしゃったとおりPython3-develをいれたところエラーの内容が変わりましたこれもまた何か足りないのでしょうか。、
回答1件
あなたの回答
tips
プレビュー