Problem with .pth files under linux
Andrew MacIntyre
andymac at bullseye.apana.org.au
Wed Nov 14 03:51:19 EST 2001
More information about the Python-list mailing list
Wed Nov 14 03:51:19 EST 2001
- Previous message (by thread): Problem with .pth files under linux
- Next message (by thread): Problem with .pth files under linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 13 Nov 2001, Fernando [ISO-8859-1] Pérez wrote: > I'm sure this is simple and stupid, but I still don't know what's going on. I > have some modules without a package structure (no __init__.py) but which have > a .pth file. Specifically, Numeric. It comes in its own directory: > site-packages/Numeric, and in site-packages I have a file Numeric.pth whose > contents is simply 'Numeric' (no quotes). > > Yet import Numeric doesn't work! I solved it by hand-coding Numeric into > sys.path, but it annoys me and I have the same problem with other modules > I'll need to use soon. Is site-packages in sys.path? (or added to sys.path by site.py?) -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au | Snail: PO Box 370 andymac at pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia
- Previous message (by thread): Problem with .pth files under linux
- Next message (by thread): Problem with .pth files under linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list