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?
@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 ...
Save as: /private/var/mobile/Containers/Data/Application/3397BCE7-D304-4C3A-A554-793DC1CDC5D9/tmp//matplotlib-2.0.2.tar.gz (53879938 bytes)
Extracting archive file ...
Running setup file ...
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.