Skip to main content

Thread: Permanently adding to the Python path


ok, want of home built packages overshadow system packages. namely, have been numpy 1.3.0 source atlas support, , need overshadow system numpy 1.2.1 had drag along dependency other stuff. have numpy 1.3.0 installed /usr/local/lib/python2.6/dist-packages. issue directory added path after /usr/lib system paths. python doesnt see version of numpy.

have been combating line in .bashrc file:

export pythonpath=/usr/local/lib/python2.6/dist-packages

when start python shell, works fine.

problem show when python not executed shell, , path variable never exported. can occur when have launcher in gnome panel or i'm executing within wingide.

so, how fix local dist-packages added sys.path before system directory always? can editing site.py think it's kind of bad form way.

ideas?

cheers,

chris



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Permanently adding to the Python path


Ubuntu

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62