view raw
tyebillion tyebillion - 1 year ago 83
Python Question

Can't install psycopg on Windows 7 with Python 3.4.3 and PostgreSQL 9.4.4

I'm installing psycopg on Windows 7 (64 bit) with Python 3.4.3 and PostgreSQL 9.4.4, using a wheel file (from and the command:

pip install psycopg2-2.6.1-cp34-none-win_amd64.whl

I get the error:

psycopg2-2.6.1-cp34-none-win_amd64.whl is not a supported wheel on this platform.

I tried using the easy_install command:


Searching for
Couldn't find index page for '
' (maybe misspelled?)
Scanning index of all packages (this may take a while)
No local packages or download links found for
error: Could not find suitable distribution for Requirement.parse('psycopg2-2.6.')


You need to install psycopg2‑2.6.1‑cp34‑none‑win32.whl. Your Windows might be 64-bit, but your Python installation is still 32-bit. The packages you install should match your Python installation, not your Windows installation.

This is a common issue as redirects you to Python 32-bit by default, even when browsing on Windows 64-bit and even with Chrome 64-bit.