Question

I want to install psycopg2 on Windows 8.1 x64 computer and I'm using python 2.7.6 from python.org. As I launch the installer as administrator, I got this error,

enter image description here

I press confirm and next button, but I can't choose or type my python directory.

I have seen this post after I got those problem, Psycopg installation on windows, but it seems that that is a different case as mine.

How to successfully install psycopg2 on Windows 8.1 x64 computer?

Was it helpful?

Solution

Install the binary distribution of psycopg2 for the same architecture as your Python version.

Your Psycopg2 architecture must match the architecture of the Python binary you installed. So if you have a 32-bit Python 2.7 you must get the 32-bit psycopg2; if you have the 64-bit Python 2.7, you must get the 64-bit pycopg2.

This applies to any Python module that contains binary modules, not just psycopg2.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top