So I am working on installing Cython for Kivy so I can package my project into an iOS file that I can test on my iPhone. Here is the link I'm following: https://kivy.org/docs/guide/packaging-ios.html
The issue I run into when installing something like Cython (or anything else for that matter, I have tried matplotlib for instance, and get the same result), it returns
Traceback (most recent call last):
File "/usr/local/bin/pip", line 7, in <module>
from pip._internal import main
ImportError: No module named pip._internal
I have gotten this error in the past, and am still trying to figure it out. I used this post a few days ago:
which helped me to install kivy.
However, I am now having these issues with downloading other libraries. When I try to sudo easy_install pip
, one would expect it would tell me that I already have pip installed. However, I get
Traceback (most recent call last):
File "/usr/bin/easy_install-2.7", line 7, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
Clearly something is going on here. I am trying to solve once and for all, is there something wrong with my pip? Did I install it wrong? Is it missing this 'pip._internal' file or something? Lastly, of course, I want to be able to successfully download libraries without the pkg_resources error
Any feedback would be greatly appreciated Thanks in advance!
EDIT: I'm using a Mac with Python 3.6 in PyCharm CE