[TriLUG] Python help?

Brian McCullough via TriLUG trilug at trilug.org
Tue Oct 8 14:29:12 EDT 2024


Greetings to the Oracle!

I am just working on re-learning Python and am running into an "include"
issue.

I created and activated a virtual environment and did:

pip install psycopg

which claimed to be successfull.

I then added "include psycopg" to a test script that I have, previously
running, and get the infamous:

ModuleNotFoundError: No module named 'psycopg'

In the same environment ( next line ), I did:

$pip install psycopg
 Requirement already satisfied: psycopg in
 ./lib/python3.11/site-packages (3.2.3)
 Requirement already satisfied: typing-extensions>=4.6 in
 ./lib/python3.11/site-packages (from psycopg) (4.12.2)


Any bright ideas?



Thank you,
Brian



More information about the TriLUG mailing list