Re: Import issue after PIP install

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Mike Rice <michael(dot)rice(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: Import issue after PIP install
Date: 2017-06-06 16:42:34
Message-ID: 4e814ec5-62a6-1e0d-740d-8eed9bb20470@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 06/06/2017 09:36 AM, Mike Rice wrote:
> I forgot to reply all, sorry about that.

Yeah, I was just replying to that when this post came through.

>
> To install Python I used the python installer and allowed it to
> configure the PATH environment variables. Below is the PATH configuration.
>
> Inline image 1
>
> I also have PYTHONPATH set to:
>
> Inline image 2
>
> C:\Python is my Python 3.5 installation.
>
> 192.168.88.142 is my local NAS where I store all my scripting. I tested
> moving it over to the local drive and it seemed to do the trick, so I'll
> have to dig a little deeper to find out how to configure things so that
> I can run my scripts off of my NAS. I' haven't run into any issues with
> it previously which is why I was confused.

By previously do you mean using the initial Python 3.5 install?

I would try in a terminal:

python -V

to see what shows up.

And in your script:

import sys

print(sys.version)

to see what it is picking up.

>
> Thanks for the quick response!
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Mike Rice 2017-06-06 16:55:26 Re: Import issue after PIP install
Previous Message Mike Rice 2017-06-06 16:36:58 Re: Import issue after PIP install