Error when installing psycopg2 on Windows

Viewed 919

I can't install psycopg2 on Win10 x64 / Python 3.8. When I run MyProject\venv>pip install psycopg2-binary

I've got error Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools

But I've already installed BuildTools (from https://visualstudio.microsoft.com/downloads/) and MS Visual C++ redistributable 2015-2019

Also I've tried to install prebuild binaries - https://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg but for any package (win_amd64 or win32) I've got error like "psycopg2-2.8.6-cp39-cp39-win32.whl is not a supported wheel on this platform."

Could you please help - how can I finally install them?

0 Answers
Related