Preparing for a point release

Richard Laager rlaager at wiktel.com
Fri Dec 8 19:08:33 UTC 2017


On 12/08/2017 12:44 PM, Hal Murray wrote:
> 
>> What is your full sys.path?
>> $ python -c 'import sys; print sys.path' 
> 
> [murray at hgm raw]$ printenv PYTHONPATH
> /usr/local/lib/python2.7/site-packages
> [murray at hgm raw]$ python -c 'import sys; print sys.path' 
> ['', '/usr/local/lib/python2.7/site-packages', '/usr/lib/python27.zip', 
> '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', 
> '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', 
> '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', 
> '/usr/lib/python2.7/site-packages']
> [murray at hgm raw]$ 
> [murray at hgm raw]$ unset PYTHONPATH
> [murray at hgm raw]$ python -c 'import sys; print sys.path' 
> ['', '/usr/lib/python27.zip', '/usr/lib64/python2.7', 
> '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', 
> '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', 
> '/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages']
> [murray at hgm raw]$ 

ls /usr/local/lib/python2.7/site-packages
ls /usr/local/lib64/python2.7/site-packages

sudo mkdir -p /usr/local/lib/python2.7/site-packages
sudo mkdir -p /usr/local/lib64/python2.7/site-packages

unset PYTHONPATH
python -c 'import sys; print sys.path'

-- 
Richard


More information about the devel mailing list