[TriLUG] Python help?
Bill Trautman via TriLUG
trilug at trilug.org
Tue Oct 15 10:22:57 EDT 2024
Brian,
Was the venv active when you did the add and when you ran the code? you
should be able to check the site-packages under the venv directory to see
if the package is there.
Bill Trautman
On Tue, Oct 8, 2024 at 2:30 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: Bill Trautman <lhasadad at gmail.com>
> 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/lhasadad%40gmail.com
> Welcome to TriLUG: https://trilug.org/welcome
More information about the TriLUG
mailing list