Hi,
I believe that Pythonista can be very useful for the scientific community but the installed packages are outdated. Especially matplotlib which has a new version 2. How can we update these packages?
Forum Archive
Matplotlib 2
@behnam, I don't know a lot about this. But I assume the answer if there is one would be using the utility StaSh. I tried it and it did not work. The session output below. Sometimes the author/contributors to this project can provide an alt way to install a package. Not sure if it's possible in this case though.
output from StaSh
[~/Documents]$ pip install matplotlib
Querying PyPI ...
Downloading package ...
Opening: https://pypi.python.org/packages/f5/f0/9da3ef24ea7eb0ccd12430a261b66eca36b924aeef06e17147f9f9d7d310/matplotlib-2.0.2.tar.gz
Save as: /private/var/mobile/Containers/Data/Application/3397BCE7-D304-4C3A-A554-793DC1CDC5D9/tmp//matplotlib-2.0.2.tar.gz (53879938 bytes)
53879938 [100.00%]
Extracting archive file ...
Archive extracted.
Running setup file ...
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
Extracting in /private/var/mobile/Containers/Data/Application/3397BCE7-D304-4C3A-A554-793DC1CDC5D9/tmp/tmpQil1FK
Now working in /private/var/mobile/Containers/Data/Application/3397BCE7-D304-4C3A-A554-793DC1CDC5D9/tmp/tmpQil1FK/distribute-0.6.28
Building a Distribute egg in /private/var/mobile/Containers/Data/Application/3397BCE7-D304-4C3A-A554-793DC1CDC5D9/tmp/4b2e9952787a443e9a180ef3e04cf95c/matplotlib-2.0.2
OSError(1, 'Operation not permitted')
Failed to run setup.py
Fall back to directory guessing ...
Error: Cannot locate packages. Manual installation required.
You can update pure python modules. matplotlib is not pure, so you cannot update it.