I tried to install Psycopg2 using pip install Psycopg2 and conda install Psycopg2 for Anaconda running on my Windows system, but when I try to connect to postgresql database in python 3 code, i get error - python27.dll is not compatible with the current version of python.
How can I install the correct version of Psycopg2?