[Tutor] MacOS many copies of python
Seven of Nine
7of9 at little-beak.com
Fri Dec 20 07:01:51 EST 2019
Hello,
I have MacOS Catalina, and have many copies of python installed, trying
to get pygame to work. Which is complicated by the fact that it only
works on 32-bit version of 2.7, which I installed (via pip) but
apparently i have some other version as my "base" install.
Going into the python: I import sys, then print sys.path - and get the
following
['',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/usr/local/Cellar/python at 2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages']
That doesn't look right? or clean to me?
Can anyone lend a helping hand how I could sort my python version.
More information about the Tutor
mailing list