ImportError: cannot import name _remove_dead_weakref

joseph pareti joepareti54 at gmail.com
Fri May 4 03:26:26 EDT 2018


thank you for the advice: depending on the value of PYTHONPATH (version
2.7, 3.5, or unset), tensorflow stops with 3 different error traps

2018-05-04 7:55 GMT+02:00 dieter <dieter at handshake.de>:

> Chris Angelico <rosuav at gmail.com> writes:
> > ...
> > Somewhere, you have a mismatch of versions. Make sure you're using the
> > same Python version for everything. You have some Python 2.7 messing
> > up your 3.5.
>
> I have had similar problems. In my case, an active "PYTHONPATH" envvar
> was responsible -- "unset"ting this envar has resolved the problem for me.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list