No importlib in Python 3 64 bit ?
Andrej Viktorovich
viktorovichandrej at gmail.com
Wed Sep 6 08:41:31 EDT 2017
Hello,
I have 32Bit and 64Bit installations on my Windows 10 machine. I do import importlib in both of them.
32bit works fine while 64bit prints error:
>>> import importlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\me\AppData\Local\Programs\Python\Python36-32\Lib\importlib\__init__.py", line 57, in <module>
import types
File "C:\Users\me\AppData\Local\Programs\Python\Python36-32\Lib\types.py", line 171, in <module>
import functools as _functools
File "C:\Users\me\AppData\Local\Programs\Python\Python36-32\Lib\functools.py", line 23, in <module>
from weakref import WeakKeyDictionary
File "C:\Users\me\AppData\Local\Programs\Python\Python36-32\Lib\weakref.py", line 12, in <module>
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
Why and how to solve this problem?
More information about the Python-list
mailing list