Is there a preferred workaround for users who wish to install Python modules from source like this:
sudo python setup.py install --prefix=/usr/local
Even after setting and exporting PYTHONPATH to be '/usr/local/lib/python2.6/site-packages' (which exists) this failed with an error message that claims I have a "bad install directory or PYTHONPATH".
Is there a preferred workaround for users who wish to install Python modules from source like this:
sudo python setup.py install --prefix=/usr/local
Even after setting and exporting PYTHONPATH to be '/usr/local/ lib/python2. 6/site- packages' (which exists) this failed with an error message that claims I have a "bad install directory or PYTHONPATH".