Environment: Windows 10, Bash on Windows (Ubuntu 16.0.4)
Pyenv is working fine and has been updated to the latest version, but Anaconda cannot be installed.This is my first installation of Anaconda on Bash on Windows.
The contents are as follows.書きI'm sorry if there are any mistakes or misunderstandings.
$pyenv install anaconda3-5.0.0
Downloading Anaconda 3-5.0.0-Linux-x86_64.sh...
->https://repo.continuum.io/archive/Anaconda3-5.0.0-Linux-x86_64.sh
Installing Anaconda 3-5.0.0-Linux-x86_64 ...
ERROR: The Pythonssl 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 16.04 using python-build 1.1.5-4-g34a5b7f)
Inspect or clean up the working tree at /tmp/python-build.20171008174759.141
Results logged to /tmp/python-build.20171008174759.141.log
Last 10 log lines:
installing: ipywidgets-7.0.0-py36h7b55c3a_0...
installing: jupyterlab-0.27.0-py36h86377d0_2 ...
installing:odo-0.5.1-py36h90ed295_0...
installing:scikit-image-0.13.0-py36had3c07a_1 ...
installing:spyder-3.2.3-py36he38cbf7_1...
installing:_ipyw_jlab_nb_ext_conf-0.1.0-py36he11e457_0...
installing:blaze-0.11.3-py36h4e06776_0...
installing:jupyter-1.0.0-py36h9896ce5_0...
installing: anaconda-5.0.0-py36h06de3c5_0...
installation finished.
Some files are installed, but Anaconda cannot run because there is no bin in the versions/Anaconda3-5.0.0 under ~/.pyenv.When I tried installing Anaconda alone, I was able to install it without any problems, but I would like to manage it with pyenv.
AnAnaconda alone was able to run Python and conda
If you look at the error, you can see
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
So, I looked into various things according to the notes below (about 3 hours...)
Please consult to the Wikipedia to fix the problem.
If you look at the git link below the error above (I'm sorry I haven't put more than one link yet),
If you have homebrew openssl and pyenv installed, you may need to tell the
compiler where the openssl package is located
Translation: If homebrew openssl and pyenv are installed, you need to tell the compiler where the openssl package is.
I was told that
*In addition, I tried various installations to see if there were any missing packages, but they all contain the latest version
sudo apt-get install-y make build-essential libssl-dev zlib 1g-dev libbbz2-dev
libreadline-dev libsqlite3-dev wget curllvm libncurses5-dev libncursesw5-
dev xz-utilstk-dev
If you look at the explanation of the countermeasures,
CFLAGS=-I/usr/include/opensl\
LDFLAGS=-L/usr/lib64\
pyenv install-v 3.4.3
"As mentioned above, the location of openssl was clearly indicated and the latest version was written, so I tried as described above, but it didn't work (there was only a mac commentary, but it looked the same in Ubuntu)."
I also read an article on pyenv about the person who put Anaconda in it, but I didn't find anything else that I was into in the same way.
There were several articles about the error above, but the solution was different.
There is also an error below, but I still don't know much about it because I can't find much information.
BUILD FAILED (Ubuntu 16.04 using python-build 1.1.5-4-g34a5b7f)
Sorry for the long sentence, but I would appreciate it if you could let me know.
bash anaconda pyenv wsl
I faced a similar problem.
I've given up on the current method.
Instead, I installed it this way.
1. Download sh files for Linux from anaconda's home page
2.$sudobash File Location
Ran in bash on ubuntu.At this time, the access to the c drive must be /mnt/c to recognize the location.Please also note that it is / not では.
I encountered exactly the same error.
However, I could install the other versions without any problems, and I was able to see how they worked.
(I haven't tried everything, but for example, anaconda3-4.4.0)
If you are not particularly particular about the latest version, there should be no problem, but what do you think?
© 2024 OneMinuteCode. All rights reserved.