Benjamin Fishbein wrote: > I’ve been writing an app using Kivy, and now I want to test it out on an > iPhone. However, this can currently only be done in Python 2. > https://kivy.org/docs/guide/packaging-ios.html > <https://kivy.org/docs/guide/packaging-ios.html> But when I import kivy in > Python2, I get an ImportError. ImportError: No module named kivy So I need > to install kivy for Python 2. But when I do: > sudo pip install kivy > I get the following: > Requirement already satisfied: requests in > ./anaconda/lib/python3.5/site-packages (from Kivy-Garden>=0.1.4->kivy) > > Do you know how I can convince my computer to download a module for Python > 2 when I already have it for Python 3?
On my (Linux) system there are multiple versions of pip, called pip2, pip3, pip3.7; you might look for those. Or you try to pick the desired interpreter with $ sudo /path/to/desired/python -m pip install kivy _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
