[MacPorts] #34763: python27 @2.7.3_0 Includes system paths in sys.path

MacPorts noreply at macports.org
Mon Jun 11 12:03:26 PDT 2012


#34763: python27 @2.7.3_0 Includes system paths in sys.path
------------------------------------+---------------------------------------
 Reporter:  jameskyle@…             |       Owner:  jwa@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  2.1.99          
 Keywords:                          |        Port:                  
------------------------------------+---------------------------------------

Comment(by jameskyle@…):

 I'm not so sure this is just a pip thing. I did the following this
 morning:

 - Uninstalled all python modules
 - Uninstalled all packages depending on python
 - Uninstalled python27 package
 - Verified the /opt/local/Frameworks/Python directory was removed
 (indicating no left over cruft)

 Then I

 - Reinstalled python27 and nothing else


 I then dropped into the python shell via:
     % /opt/local/bin/python2.7

 And printed sys.path, it's the exact same path as above.

 I also did a sudo -u root -i for a clean $HOME/SHELL and inspected the
 path there, same path.

-- 
Ticket URL: <https://trac.macports.org/ticket/34763#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list