It worked on Mac OS X
In python terminal run In python: import sys print sys.path
Find the path of the site packages. I found this in the sys.path output: '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'
exit python. Find where your current site packages are. Mine were in / Library / Python / 2.6 / site-packages
Now be careful: check the contents of the package sites to make sure it is empty. That is, the directory /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages must be empty or contain a readme file. If so, delete this directory, because now you are going to create a symbolic link.
ln -s / Library / Python / 2.6 / site-packages / Library / Frameworks / Python.framework / Versions / 2.7 / lib / python2.7 / site-packages
If you do not delete the folder, you will place a symbolic link in the folder.
Other options are to add the path to sys.path. I chose a symbolic route because I have several versions of python, I donβt want several versions of Django and just want to point to a known working copy.
kd4ttc Sep 24 2018-12-12T00: 00Z
source share