Я работаю в лаборатории jupyter и хочу установить библиотеку alipy.
Я открыл окно терминала и запустил pip install alipy
и получил эту ошибку
ERROR: Command errored out with exit status 1:
command: /opt/conda/envs/python2/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-DWPPLN/alipy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-DWPPLN/alipy/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 pip-egg-info
cwd: /tmp/pip-install-DWPPLN/alipy/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-DWPPLN/alipy/setup.py", line 9, in <module>
long_description=open('README.md', encoding='UTF-8').read(),
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.