Errors encountered when running make install-develop
due to the file encoding/decoding issues.
pip install -e .[dev] Obtaining file:///home/dongyu/apps/orion-test ERROR: Command errored out with exit status 1: command: /home/dongyu/.conda/envs/orion-test/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/dongyu/apps/orion-test/setup.py'"'"'; __file__='"'"'/home/dongyu/apps/orion-test/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info cwd: /home/dongyu/apps/orion-test/ Complete output (7 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/dongyu/apps/orion-test/setup.py", line 8, in <module> readme = readme_file.read() File "/home/dongyu/.conda/envs/orion-test/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 115: ordinal not in range(128) ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Makefile:82: recipe for target 'install-develop' failed make: *** [install-develop] Error 1Solution
# setup.py try: with open('README.md', encoding='utf-8') as readme_file: readme = readme_file.read() except IOError: readme = '' try: with open('HISTORY.md', encoding='utf-8') as history_file: history = history_file.read() except IOError: history = ''
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4