[MacPorts] #21707: py26-psycopg2 won't load

MacPorts noreply at macports.org
Tue Sep 29 19:16:32 PDT 2009


#21707: py26-psycopg2 won't load
-------------------------------+--------------------------------------------
 Reporter:  dave@…             |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  High               |   Milestone:                                       
Component:  ports              |     Version:  1.8.1                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 This is on Snow Leopard:

 {{{
 $ sudo port install py26-psycopg2
 --->  Computing dependencies for py26-psycopg2
 --->  Cleaning py26-psycopg2
 zreba:boost_consulting dave$ python
 Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51)
 [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
 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
 >>> ^D
 zreba:boost_consulting dave$ port contents py26-psycopg2
 Port py26-psycopg2 contains:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/__init__.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/__init__.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/_psycopg.so
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/errorcodes.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/errorcodes.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/extensions.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/extensions.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/extras.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/extras.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/pool.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/pool.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/psycopg1.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/psycopg1.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/tz.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2/tz.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/psycopg2-2.0.12-py2.6.egg-info
 zreba:boost_consulting dave$ port deps py26-psycopg2
 Full Name: py26-psycopg2 @2.0.12+postgresql84
 Library Dependencies: python26, openssl, postgresql84
 zreba:boost_consulting dave$ sudo port activate py26-psycopg2
 --->  Activating py26-psycopg2
 Error: port activate failed: Image error: py26-psycopg2
 @2.0.12_0+postgresql84 is already active.
 zreba:boost_consulting dave$
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21707>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list