[TriLUG] Python help?
Chris Bickhaus via TriLUG
trilug at trilug.org
Tue Oct 8 14:40:53 EDT 2024
“import psycopg”
Chris Bickhaus
> On Oct 8, 2024, at 1:29 PM, Brian McCullough via TriLUG <trilug at trilug.org> wrote:
>
> 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
>
> --
> This message was sent to: Chris Bickhaus <bick at bickhaus.net>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web : https://www.trilug.org/mailman/options/trilug/bick%40bickhaus.net
> Welcome to TriLUG: https://trilug.org/welcome
More information about the TriLUG
mailing list