Re: Getting psycopg2 to work in cygwin on Windows Vista

Daniele Varrazzo <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Farhan Ahmad ha scritto:

> I am trying to get psycopg2 to work on Windows Vista through cygwin.  
> Everything compiles fine, but when I import it python says that it can't 
> findany module by that name.  I have attached the output from a "python
> -v" session.  Does anyone have any ideas why the system cannot find the 
> _psycopg?  Everything compiled and installed without any issues.

Did you issue "python setup.py install" in the psycopg directory?

If everything compiled fine, you should have a "_psycopg.dll" in a 
subdirectory under "build", which is not included in the pythonpath. The above 
command should put all the pieces in the proper place.

-- Daniele
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.