@omz I'm using Pythonista 3 so I entered pythonista3:// which opens the program but has the same result. pythonista:// opens my older version of Pythonista.
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.
Latest posts made by macfox2
-
RE: How do I stop a file from loading when I open Pythonista?
-
How do I stop a file from loading when I open Pythonista?
How do I stop a file from loading when I open Pythonista? I imported a large text file into Pythonista and opened it by mistake. Now, when I go to open Pythonista, it automatically tries to load the file and eventually crashes the program.
-
Download and unzip files
What is the best way to download and unzip zip files? Can this be done in StaSh? I'm trying to download a CSV file from http://data.worldbank.org/.
-
Downloading files from GitHub
What is the easiest way to download a file from GitHub? I entered the following in the command line in StaSh:
git clone https://github.com/username/username.github.io.git
and also
git clone https://github.com/username/username.git
but both times received the following error message:
stash: <type 'exceptions.OSError'>: [Errno 17] File exists: './.git'
What should I enter on the command line to make this work? Or is there a better way to accomplish this?
-
RE: Installing Pygal
Thanks again @JonB -- stash worked great for installing Pygal, but now when I go to import pygal, I receive this error:
No module named 'pkg_resources'
Any ideas how to fix this?
-
RE: Installing Pygal
Thanks to both of you. I'll try stash. I read about pipista on other threads, like this one: https://forum.omz-software.com/topic/708/using-pipista
-
Installing Pygal
I'm trying to install pygal. To do this, I pasted pipista into an empty script and saved it in site-packages. I created another empty script in site-packages with the following code, but receive an ImportError that there is "no module named pipista":
import pipista pipista.pypi_install('pygal')
Pipista appears to be written for Python 2.7, so I set this as my default interpreter, but I'm still having issues. What am I doing wrong? Will my second line of code even install Pygal? Is there anything else I'll need to do?
I'm very new to this so any help is greatly appreciated. Thanks!