実現したいこと
pynevでpython3.7.0をinstallしたいがエラーになり解決方法を知りたいです。
いろいろ調べましが解決方法がわからずです。よろしくお願いします。
os:windows10
ubuntu 18.04
発生している問題・エラーメッセージ
*****@DESKTOP-6I0TIEE:~$ pyenv install 3.7.0 Downloading Python-3.7.0.tar.xz... -> https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz Installing Python-3.7.0... BUILD FAILED (Ubuntu 18.04 using python-build 1.2.7-7-g21c75c19) Inspect or clean up the working tree at /tmp/python-build.20181005173200.6284 Results logged to /tmp/python-build.20181005173200.6284.log Last 10 log lines: checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... checking for --without-gcc... no checking for --with-icc... no checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/tmp/python-build.20181005173200.6284/Python-3.7.0': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details
「.bash_profile」を編集しています。 *****@DESKTOP-6I0TIEE:~$ vi ~/.bash_profile export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" aoto@DESKTOP-6I0TIEE:~$ vi ~/.bash_profile
。
回答3件
あなたの回答
tips
プレビュー