I'm trying to install Python packages, specifically numpy and networkx, using PyCharm on a laptop running Gallium, and I keep getting:
IOError: [Errno 20] Not a directory: '/tmp/pip-build-xMS1YA/numpy/doc/f2py/oldnews.html'
The path that isn't a directory varies depending on what I'm doing. I tried this through the PyCharm IDE and by running a similar command through the command line, e.g., sudo pip install numpy
.
I did see this question, which is similar, but the original poster reinstalled the OS as the solution, which I'd rather not do. I had installed PyCharm using these instructions:
sudo add-apt-repository ppa:mystic-mirage/pycharm
sudo apt-get update
sudo apt-get install pycharm
As with the SO question I linked above, I tried:
pip install headers_workaround
pip install spacy
but I also got that "Not a directory" error with spacy.