How do I install packages from PyPi into Pythonista on iOS?
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Best posts made by Orome
-
How do I install packages from PyPi into Pythonista on iOS?
Latest posts made by Orome
-
RE: How do I install packages from PyPi into Pythonista on iOS?
@JonB : That makes sense. It must be the selftest then. (And the limitation about the script I was expecting.) Except — @Cethric said the installation worked for him!
-
RE: How do I install packages from PyPi into Pythonista on iOS?
@JonB : It's a simple package. And in any case I want to be sure it can be installed simply, so it's important to get to the bottom of what about the package is causing this issue.
-
RE: How do I install packages from PyPi into Pythonista on iOS?
@Cethric : After installing
cache tools
I still get:installing module StaSh pip installing cachetools Opening: https://pypi.python.org/packages/source/c/cachetools/cachetools-1.1.5.tar.gz Save as: /private/var/mobile/Containers/Data/Application/9A7BF2DD-B5B5-48A5-8522-E8F1D95FA75F/Documents/site-packages/cachetools-1.1.5.tar.gz (13378 bytes) 8192 [61.23%] 13378 [100.00%] Reading gzip file. Extracting files. Extracting: cachetools-1.1.5/cachetools/rr.py Extracting: cachetools-1.1.5/cachetools/keys.py Extracting: cachetools-1.1.5/cachetools/ttl.py Extracting: cachetools-1.1.5/cachetools/cache.py Extracting: cachetools-1.1.5/cachetools/func.py Extracting: cachetools-1.1.5/cachetools/lru.py Extracting: cachetools-1.1.5/cachetools/lfu.py Extracting: cachetools-1.1.5/cachetools/__init__.py Extracting: cachetools-1.1.5/setup.cfg Extracting: cachetools-1.1.5/README.rst Extracting: cachetools-1.1.5/MANIFEST.in Extracting: cachetools-1.1.5/setup.py Extracting: cachetools-1.1.5/LICENSE Extracting: cachetools-1.1.5/cachetools.egg-info/dependency_links.txt Extracting: cachetools-1.1.5/cachetools.egg-info/SOURCES.txt Extracting: cachetools-1.1.5/cachetools.egg-info/top_level.txt Extracting: cachetools-1.1.5/cachetools.egg-info/PKG-INFO Extracting: cachetools-1.1.5/PKG-INFO Extracting: cachetools-1.1.5/CHANGES.rst Extracting: cachetools-1.1.5/tests/test_wrapper.py Extracting: cachetools-1.1.5/tests/test_cache.py Extracting: cachetools-1.1.5/tests/test_ttl.py Extracting: cachetools-1.1.5/tests/test_lru.py Extracting: cachetools-1.1.5/tests/test_lfu.py Extracting: cachetools-1.1.5/tests/test_rr.py Extracting: cachetools-1.1.5/tests/test_func.py Extracting: cachetools-1.1.5/tests/test_keys.py Extracting: cachetools-1.1.5/tests/test_method.py Extracting: cachetools-1.1.5/tests/__init__.py Archive extracted. Removing setup files. Package Installed. Import Successful! [~/Documents]$ pip install crypto-enigma installing module StaSh pip installing crypto-enigma Opening: https://pypi.python.org/packages/source/c/crypto-enigma/crypto-enigma-0.0.1b3.tar.gz Save as: /private/var/mobile/Containers/Data/Application/9A7BF2DD-B5B5-48A5-8522-E8F1D95FA75F/Documents/site-packages/crypto-enigma-0.0.1b3.tar.gz (23849 bytes) 8192 [34.35%] 16384 [68.70%] 23849 [100.00%] Reading gzip file. Extracting files. Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/dependency_links.txt Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/PKG-INFO Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/SOURCES.txt Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/top_level.txt Extracting: crypto-enigma-0.0.1b3/enigma/__init__.py Extracting: crypto-enigma-0.0.1b3/enigma/_version.py Extracting: crypto-enigma-0.0.1b3/enigma/components.py Extracting: crypto-enigma-0.0.1b3/enigma/machine.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/__init__.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_components.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_configs.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_display.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_encodings.py Extracting: crypto-enigma-0.0.1b3/enigma/utils.py Extracting: crypto-enigma-0.0.1b3/PKG-INFO Extracting: crypto-enigma-0.0.1b3/pyenigma.py Extracting: crypto-enigma-0.0.1b3/README.rst Extracting: crypto-enigma-0.0.1b3/setup.cfg Extracting: crypto-enigma-0.0.1b3/setup.py Archive extracted. Trying to run setup.py Added setuptools Added setuptools.command Added setuptools.command.test Added distutils Added distutils.core mv: /private/var/mobile/Containers/Data/Application/9A7BF2DD-B5B5-48A5-8522-E8F1D95FA75F/Documents/site-packages/crypto-enigma-0.0.1b3/enigma.tests: no such file or directory *Unable to locate package. Please try manual install.* Removing setup files. Failed import test. Check for dependencies
Is there something else you could have that I'm missing?
-
RE: How do I install packages from PyPi into Pythonista on iOS?
@Webmaster4o : Actually, I'm not sure what that means. I don't have an
import test
statement anywhere. -
RE: How do I install packages from PyPi into Pythonista on iOS?
Any idea why it failed. I was hoping to test the installation of my package (using
pip
) on as many platforms as I could. -
RE: How do I install packages from PyPi into Pythonista on iOS?
Wow, stash is pretty cool.
But — my attempt to use pip fails:
StaSh v0.4.5 [~/Documents]$ pip install crypto-enigma Creating package file installing module StaSh pip installing crypto-enigma Opening: https://pypi.python.org/packages/source/c/crypto-enigma/crypto-enigma-0.0.1b3.tar.gz Save as: /private/var/mobile/Containers/Data/Application/9A7BF2DD-B5B5-48A5-8522-E8F1D95FA75F/Documents/site-packages/crypto-enigma-0.0.1b3.tar.gz (23849 bytes) 8192 [34.35%] 16384 [68.70%] 23849 [100.00%] Reading gzip file. Extracting files. Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/dependency_links.txt Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/PKG-INFO Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/SOURCES.txt Extracting: crypto-enigma-0.0.1b3/crypto_enigma.egg-info/top_level.txt Extracting: crypto-enigma-0.0.1b3/enigma/__init__.py Extracting: crypto-enigma-0.0.1b3/enigma/_version.py Extracting: crypto-enigma-0.0.1b3/enigma/components.py Extracting: crypto-enigma-0.0.1b3/enigma/machine.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/__init__.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_components.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_configs.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_display.py Extracting: crypto-enigma-0.0.1b3/enigma/tests/test_encodings.py Extracting: crypto-enigma-0.0.1b3/enigma/utils.py Extracting: crypto-enigma-0.0.1b3/PKG-INFO Extracting: crypto-enigma-0.0.1b3/pyenigma.py Extracting: crypto-enigma-0.0.1b3/README.rst Extracting: crypto-enigma-0.0.1b3/setup.cfg Extracting: crypto-enigma-0.0.1b3/setup.py Archive extracted. Trying to run setup.py Added setuptools Added setuptools.command Added setuptools.command.test Added distutils.core *Unable to locate package. Please try manual install.* Removing setup files. Failed import test. Check for dependencies
-
How do I install packages from PyPi into Pythonista on iOS?
How do I install packages from PyPi into Pythonista on iOS?