Forum Archive

Problem when pip installing matplotlip

frapython

Hi, I have just bought and intstalled pythonista 3 on my Ipad.
In order to install matplotlib, I have installed Stash first.
Then running pip, I got the following error:


  • **[~/Documents]$ pip install matplotlib
    Querying PyPI ...
    Downloading package ...
    Opening: https://files.pythonhosted.org/packages/eb/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3.tar.gz

Save as: /private/var/mobile/Containers/Data/Application/C4678C9F-C724-43C3-91E2-EB10E99F37E9/tmp//matplotlib-2.2.3.tar.gz (36839609 bytes)
36839609 [100.00%]
Extracting archive file ...
Archive extracted.
Running setup file ...
AttributeError('make_release_tree',)
Failed to run setup.py
Fall back to directory guessing ...
Error: Cannot locate packages. Manual installation required.**

Any help would be welcomed!

dolanskurd

Use
selfupdate -f dev

Then restart Pythonista.

JonB

Matplotlib comes preinstalled. You cannot update it. (Blame apple.)

frapython

Your solution works and has fixed the problem ! Thanks a lot !

djl

@frapython
I also would like to update the preinstalled matplotlib module, but I don't understand how to use

selfupdate -f dev

If that works, can you be more specific?

JonB

Matplotlib comes preinstalled. You cannot update it.