teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

katsuko様のおっしゃる通りにpython3-devel 入れてみました

2019/06/07 13:17

投稿

python-syosinns
python-syosinns

スコア10

title CHANGED
File without changes
body CHANGED
@@ -4,9 +4,8 @@
4
4
  Python3 -m pip install matplotlib
5
5
  を書いた後多くの赤字が出て、すべての場合で以下のエラーメッセージが発生しました。
6
6
 
7
-
8
7
  ```Python3
9
- ERROR: Complete output from command /usr/bin/Python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-fde3bttu/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-efe171tp/install-record.txt --single-version-externally-managed --compile:
8
+ 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:
10
9
  ERROR: running install
11
10
  running build
12
11
  running build_ext
@@ -15,15 +14,15 @@
15
14
  creating build/temp.cygwin-3.0.7-x86_64-3.6
16
15
  creating build/temp.cygwin-3.0.7-x86_64-3.6/py
17
16
  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
17
+ In file included from py/kiwisolver.cpp:8:0:
18
- py/kiwisolver.cpp:8:10: fatal error: Python.h: No such file or directory
18
+ /usr/include/python3.6m/Python.h:39:10: fatal error: crypt.h: No such file or directory
19
- #include <Python.h>
19
+ #include <crypt.h>
20
- ^~~~~~~~~~
20
+ ^~~~~~~~~
21
21
  compilation terminated.
22
22
  error: command 'gcc' failed with exit status 1
23
23
  ----------------------------------------
24
- ERROR: Command "/usr/bin/Python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-fde3bttu/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-efe171tp/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-fde3bttu/kiwisolver/
24
+ ERROR: 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/
25
25
 
26
26
  ```
27
27
  ### 試したこと
28
-
29
- gccというものが何か絡んでいそうだとは感じましたがどうしらいいわかません助けてください。
28
+ katsuko様のおっしゃったおりPython3-develをれたところエラー内容変わりましたこれもまのでしょうか

1

Matplotlibをインストールしようとした際にでたエラーです。Scipy, Pandasは文字が多すぎて文字数制限に引っ掛かりました。

2019/06/07 13:17

投稿

python-syosinns
python-syosinns

スコア10

title CHANGED
File without changes
body CHANGED
@@ -5,21 +5,25 @@
5
5
  を書いた後多くの赤字が出て、すべての場合で以下のエラーメッセージが発生しました。
6
6
 
7
7
 
8
-
9
- ``
10
- py/kiwisolver.cpp:8:10: fatal error: Python.h: No such file or directory
8
+ ```Python3
9
+ ERROR: Complete output from command /usr/bin/Python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-fde3bttu/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-efe171tp/install-record.txt --single-version-externally-managed --compile:
10
+ ERROR: running install
11
+ running build
12
+ running build_ext
13
+ building 'kiwisolver' extension
14
+ creating build
15
+ creating build/temp.cygwin-3.0.7-x86_64-3.6
16
+ creating build/temp.cygwin-3.0.7-x86_64-3.6/py
17
+ 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
18
+ py/kiwisolver.cpp:8:10: fatal error: Python.h: No such file or directory
11
19
  #include <Python.h>
12
20
  ^~~~~~~~~~
13
21
  compilation terminated.
14
22
  error: command 'gcc' failed with exit status 1
15
23
  ----------------------------------------
16
- ERROR: Command "/usr/bin/Python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-sr31k9hj/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-2l049fua/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-sr31k9hj/kiwisolver/
24
+ ERROR: Command "/usr/bin/Python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-fde3bttu/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-efe171tp/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-fde3bttu/kiwisolver/
17
25
 
18
-
26
+ ```
19
-
20
-
21
-
22
-
23
27
  ### 試したこと
24
28
 
25
29
  gccというものが何か絡んでいそうだとは感じましたがどうしたらいいかわかりません助けてください。