ubuntu. I got an error when I did this.
sudo pip3 install scipy
error
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-qgxbcbh4/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-e_3afsxm-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-qgxbcbh4/scipy/
I haven't installed pip3 with sudo apt-get install python3-pip
. I put it in get-pip.
http://qiita.com/mochizukikotaro/items/acdec17876854e59616a
So I tried the following.
$ sudo apt-get install libatlas-base-dev gfortran
$ sudo pip3 install scipy
No. .. It was moss again. ..
I will try this after all.
sudo apt-get install python3-scipy
I got it. .. I was able to confirm it with dpkg -l | grep scipy
. However, I'm not sure why pip3 list
contains scipy ...
I'll put this in as well.
sudo apt-get install python3-matplotlib
This is also included when I check it with pip3. I'm not sure about pip3. It's true. ..
Doing the above in Vagrant is a hassle because there is no GUI. After all, I decided to do it on a Mac. At that time, even if I tried pip install matplotlib
, I encountered an error that the module was missing, but I was able to go with pip install -U matplotli
. (Tensorflow still doesn't work)
Recommended Posts