[Toolserver-l] Python module missing
Kay Drangmeister
kay at drangmeister.net
Mon Jun 13 12:50:58 UTC 2011
Hi.
Some of my python scripts use the psycopg2 module, which existed before
but seems to be gone now on willow:
kayd at willow:~/parkingicons$ which python
/opt/ts/python/2.7/bin/python
kayd at willow:~/parkingicons$ python
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named psycopg2
or on nightshade:
kayd at nightshade:~/parkingicons$ which python
/opt/ts/python/2.7/bin/python
kayd at nightshade:~/parkingicons$ python
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named psycopg2
>>>
Could you please re-install it, or could I do that myself?
psycopg2 is used for postrges interfacing: http://www.initd.org/psycopg/
If there is a (better) alternative I should use instead, I would be
pleased to use it :-)
Kind regards,
Kay
More information about the Toolserver-l
mailing list