I recently installed psycopg2 on my computer using macport. I followed the instructions on the Psycopg2 website:
sudo port install py27-psycopg2
When i used
port install
psycopg2 was listed as a successfully installed macport.
However, whenever I print
import psycopg2
in python, it also gives me errors that there are no such modules in python. I am new to computer science. I raised a few questions that resemble mine, but I could understand what was happening. I hope everyone can help me. I really appreciate your help and your time.
Ha vu source
share