-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install fails on python3.8 #216
Comments
Removing - __translation__.install(True)
+ __translation__.install() Python 3.9.0 |
Yep - seems the API changed here in more recent bindings of gettext. Will take a proper look for the next release. Thank you for the report and solution. |
Closing this, as it is a duplicate. See #213 for the original reported issue. |
Python 3.9.4 on Windows 10 20H2 It still gives the following error after making the change proposed by @maccuaa C:\dev\python\lib\subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
Traceback (most recent call last):
File "C:\Users\Thiago\AppData\Roaming\npm\node_modules\gitinspector\gitinspector.py", line 24, in <module>
gitinspector.main()
File "C:\Users\Thiago\AppData\Roaming\npm\node_modules\gitinspector\gitinspector\gitinspector.py", line 206, in main
run.process(repos)
File "C:\Users\Thiago\AppData\Roaming\npm\node_modules\gitinspector\gitinspector\gitinspector.py", line 58, in process
localization.disable()
File "C:\Users\Thiago\AppData\Roaming\npm\node_modules\gitinspector\gitinspector\localization.py", line 106, in disable
gettext.NullTranslations().install(True)
File "C:\dev\python\lib\gettext.py", line 354, in install
for name in allowed & set(names):
TypeError: 'bool' object is not iterable Removing C:\dev\python\lib\subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize) |
Environment
Ubuntu 20.04
Python 3.7.9:
conda create -n py38 'python>=3.8,<3.9' && conda activate py38
Reproduce
Traceback
Workaround
downgrade to python <3.8
The text was updated successfully, but these errors were encountered: