Closed alxempirical closed 8 years ago
It's failing on an attempt to open the file bayesdb-demo
:
bash-3.2$ python -i setup.py develop
....
LookupError: unknown encoding:
>>> import pdb
>>> pdb.pm()
> /Useurs/alx/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/setuptools/command/develop.py(167)install_egg_scripts()
-> with io.open(script_path) as strm:
(Pdb) l
162
163 # ...and old-style
164 for script_name in self.distribution.scripts or []:
165 script_path = os.path.abspath(convert_path(script_name))
166 script_name = os.path.basename(script_path)
167 -> with io.open(script_path) as strm:
168 script_text = strm.read()
169 self.install_script(dist, script_name, script_text, script_path)
170
171 def install_wrapper_scripts(self, dist):
172 dist = VersionlessRequirement(dist)
(Pdb) script_path
'/private/tmp/bdbcontrib/scripts/bayesdb-demo'
(Pdb) f = io.open(script_path)
*** LookupError: unknown encoding:
(Pdb)
@gregory-marton, that did not the address the issue, I'm afraid. Discussion on #python
suggests that it's actually a locale-handling bug in anaconda. I am upgrading to latest anaconda now.
Sorry, wrong bug number. I meant #138 in that commit, this one was just on the brain.
Thanks for looking into it, @alxempirical!
Closing this unless I hear different from the anaconda people