困っていること
リモートで接続しているサーバーに、pythonをインストールしようとしてかれこれ4時間ほど格闘しています。
エラーを見ると、PASSが通っていない?のか?とも思うのですが、、
もう詰まりすぎてわからなくなってきたので、どなたかヒントだけでもちょうだいでいませんでしょうか?
よろしくお願いいたします。
これまでにやったこと
①Homebrewのinstall
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
→「sudo権限がないです」という一文が表示されて、/home/name/.linuxbrew/ にinstallされた?様です。
get install build-essential
②pyenvのinstall
brew install pyenv
③PATHの設定
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
④pyenv install 3.8.6
出力
Downloading Python-3.8.6.tar.xz...
-> https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tar.xz
Installing Python-3.8.6...
patching file Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst
patching file configure
patching file configure.ac
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems
BUILD FAILED (Ubuntu 22.04 using python-build 20180424)
Inspect or clean up the working tree at /tmp/python-build.20220603144825.349816
Results logged to /tmp/python-build.20220603144825.349816.log
Last 10 log lines:
fi
Looking in links: /tmp/tmpfluqhbl2
Processing /tmp/tmpfluqhbl2/setuptools-49.2.1-py3-none-any.whl
Processing /tmp/tmpfluqhbl2/pip-20.2.1-py2.py3-none-any.whl
Installing collected packages: setuptools, pip
WARNING: The script easy_install-3.8 is installed in '/home/name/.pyenv/versions/3.8.6/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts pip3 and pip3.8 are installed in '/home/name/.pyenv/versions/3.8.6/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-20.2.1 setuptools-49.2.1
回答1件
あなたの回答
tips
プレビュー