[issue25778] winreg.EnumValue does not truncate strings correctly

Anshul Agrawal report at bugs.python.org
Wed Dec 2 10:18:16 EST 2015


Anshul Agrawal added the comment:

Before I got the "one line patch" on stackoverflow, I tried creating a new environment with Python 2.7.10 and did *not* get the error message I got with Python 3.5.0.  Here's an outline of what I did:

1) Created a new environment to use Python 2.7.10: conda create --name python2.7.10 python=2.7.10
2) Installed matplotlib package within it: conda install --name python2.7.10 matplotlib
3) Installed seaborn package within it: conda install --name python2.7.10 seaborn

When I started Python within this environment (verified it was version 2.7.10 with "print(sys.version)"), and did "import matplotlib.pyplot" and "import seaborn", the FileNotFoundError message did not appear.  So the problem appears to be associated with Python3, not Python2.

Hope this helps.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25778>
_______________________________________


More information about the Python-bugs-list mailing list