sudo pip install PyRAF
と入力したのですが、インストールの最後に以下のようなメッセージがでて、pyrafというパッケージをインストールできません。
もし解決方法をご存知の方がいらっしゃれば教えていただけると嬉しいです。
よろしくお願いいたします。
shell
1src/xutil.c:2:19: fatal error: X11/X.h: そのようなファイルやディレクトリはありません 2 compilation terminated. 3 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 4 5 ---------------------------------------- 6Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-5hKCH1/PyRAF/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-367eLm/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-5hKCH1/PyRAF/ 7
回答1件
あなたの回答
tips
プレビュー