osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No importlib in Python 3 64 bit ?


On Wednesday, September 6, 2017 at 2:42:06 PM UTC+1, Andrej Viktorovich wrote:
> Found that pythons have different paths. It might be related?

Definitely :)

> 
> 64 bit
> 
> C:\Users\me\AppData\Local\Programs\Python\Python36-32
> C:\Users\me\AppData\Local\Programs\Python\Python36-32\DLLs
> C:\Users\me\AppData\Local\Programs\Python\Python36-32\Lib
> C:\Program Files\Python36\python36.zip
> C:\Program Files\Python36\DLLs
> C:\Program Files\Python36\lib
> C:\Program Files\Python36
> C:\Program Files\Python36\lib\site-packages

The "C:\Program..." indicates installed for all users, but you're also pulling in the 32 bit libs.  Remove them from the path and you're good to go.

> 
> 32bit
> 
> C:\Users\me\AppData\Local\Programs\Python\Python36-32
> C:\Users\me\AppData\Local\Programs\Python\Python36-32\DLLs
> C:\Users\me\AppData\Local\Programs\Python\Python36-32\Lib
> C:\Users\me\AppData\Local\Programs\Python\Python36-32\python36.zip
> C:\Users\me\AppData\Local\Programs\Python\Python36-32\lib\site-packages

This is a good install for a single user.

Kindest regards.

Mark Lawrence.