Right place for third party modules (here: fixedpoint)
Sibylle Koczian
Sibylle.Koczian at Bibliothek.Uni-Augsburg.de
Tue Jan 25 06:15:03 EST 2005
Fredrik Lundh schrieb:
>
> ah, forget what I said. you need to put the fixedpoint.py *file* under site-packages,
> not the entire directory. as that "python -v -v" would have told you:
>
Thank you (and Steve Holden), that did it.
>
>>more out
>
> ...
> # trying C:\python24\lib\site-packages\fixedpoint.pyd
> # trying C:\python24\lib\site-packages\fixedpoint.dll
> # trying C:\python24\lib\site-packages\fixedpoint.py
> # trying C:\python24\lib\site-packages\fixedpoint.pyw
> # trying C:\python24\lib\site-packages\fixedpoint.pyc
> Traceback (most recent call last):
> File "<string>", line 1, in ?
> ImportError: No module named fixedpoint
> ...
>
> </F>
>
Very helpful, not only directories, but full module names. I hope I'll
remember (or find) "python -v -v" next time around.
Python is nice, but Python + c.l.p. is a Really Good Thing.
Koczian
--
Dr. Sibylle Koczian
Universitaetsbibliothek, Abt. Naturwiss.
D-86135 Augsburg
Tel.: (0821) 598-2400, Fax : (0821) 598-2410
e-mail : Sibylle.Koczian at Bibliothek.Uni-Augsburg.DE
More information about the Python-list
mailing list