I am faced with an apparent time consuming problem or something else when I try to install scipy with pip for python3.6 on my RPi2 model B. OS is Raspbian minimal (jessie).
I am using a RPi2, and I successfully managed to follow the suggested procedure to install python3.6. But as pointed out by a commenter, I ran into problems with ssl when I tried to install packages with pip.
I learned from another thread on different subject that I need to install ssl before I compile.
sudo apt-get install libssl-dev
wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
tar xzvf Python-3.6.0.tgz
cd Python-3.6.0/
./configure
make
sudo make install
python3.6 -V
python3.6 -m pip install --upgrade pip
python3.6 -m pip install --user numpy
sudo apt-get update
sudo apt-get upgrade
I first ran into an error while installing scipy, but got past that with the sugested libatlas-base-dev gfortan
requirement.
sudo apt-get install libatlas-base-dev gfortran
python3.6 -m pip install --user scipy
the installation of scipy with pip takes a very long time (hours) and I am looking for a solution. I'll get back to this. the rest of the installation is now put on hold.
python3.6 -m pip install --user matplotlib
python3.6 -m pip install --user ipython
python3.6 -m pip install --user jupyter
python3.6 -m pip install --user pandas
python3.6 -m pip install --user sympy
python3.6 -m pip install --user nose
The upside of having to compile python3.6 a second time was a much faster compile the second time. On the other hand it takes a long time to install numpy, and that is why i split up the package installation. But it takes such a long time to install scipy that I am thinking there is another problem.
After hours of waiting for scipy to install, the green light on my PI has a constant green light (no blinking). I tried to open up another tty, but I can't log in there. So i got back to the tty with the installation script and hit ctrl+c
to exit. I rebooted and I'm giving it another try.
But after waiting for another 7 hours I have the same situation. The constant green light on my PI, and no respons on tty2. I ctrl+c
to exit.
sudo apt-get install python3-scipy
– Aurora0001 Aug 27 '17 at 12:37sudo apt-get install python3-scipy
? After installing python3.6 I have python2.7, python3.4, and python3.6 on my pi-2 – vardaasen Aug 27 '17 at 18:36sudo apt-get install python3-scipy
. But scipy does not show up inpython3.6 modules | less
orpython3 modules | less
althoughdpkg -l python3-scipy
show it is installed. – vardaasen Aug 27 '17 at 22:36