Pythonista Lab TestFlight and pip #11
-
|
Got access to the Pythonista Lab TestFlight this morning. Thank you - looks VERY nice. One quick question: not all the python packages I use are installed. Most of my Jupyter notebooks start with a load of Is there an official way of installing external packages? I can't see anything in the documentation.... Thanks, Steve |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
First off, please be aware that it's not possible to install any packages with any native (C/C++) dependencies in Pythonista. This is due to iOS limitations, and not likely to change anytime soon. So, if your notebooks depend on packages that are not included in Pythonista, and are not pure Python, you may not be able to run it in Pythonista. That being said, you can install pure Python packages with the %pip install rich # Example of a pure Python package that works in Pythonista |
Beta Was this translation helpful? Give feedback.
-
|
I installed 1.0(build 7). In my environment, I seem to get an import error even after installing rich. The module appears to be installed in the following location. /.../Documents/Documents/site-packages Moving the module to the following location seems to work fine. /.../Documents/site-packages |
Beta Was this translation helpful? Give feedback.


First off, please be aware that it's not possible to install any packages with any native (C/C++) dependencies in Pythonista. This is due to iOS limitations, and not likely to change anytime soon. So, if your notebooks depend on packages that are not included in Pythonista, and are not pure Python, you may not be able to run it in Pythonista.
That being said, you can install pure Python packages with the
%pipline magic, e.g.