You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Problem seems to be in README.md file that has some bad characters.
I was able to install it with little workaround without looking for bad character. Download latest package from: https://pypi.org/project/astmonkey/#files.
Untar package with: tar -zxvf astmonkey-0.3.6.tar.gz
Modify setup.py with these two steps:
Remove these lines: with open('README.rst') as f: long_description = f.read()
Modify this line: long_description="Here should be description",
Now remove old .tar.gz and create new one with modified file: tar cvfz astmonkey-0.3.6.tar.gz astmonkey-0.3.6/
Install new package with pip: pip install astmonkey-0.3.6.tar.gz
And thats it :)
jepler
added a commit
to jepler/astmonkey
that referenced
this issue
Sep 26, 2022
Error in pip install (also pip3)
pip3 install astmonkey
Collecting astmonkey
Downloading astmonkey-0.3.6.tar.gz (10 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-91zgj0g2/astmonkey/setup.py'"'"'; file='"'"'/tmp/pip-install-91zgj0g2/astmonkey/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-91zgj0g2/astmonkey/pip-egg-info
cwd: /tmp/pip-install-91zgj0g2/astmonkey/
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-91zgj0g2/astmonkey/setup.py", line 7, in
long_description = f.read()
File "/usr/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 0xc5 in position 3079: 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.
More details
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
python3 --version
Python 3.6.10
python --version
Python 3.6.10
The text was updated successfully, but these errors were encountered: