python - 当我使用 jupyter notebook pip install COVID19Py 时,我收到一个 ERROR Command errored out with exit status 1
问题描述
在 jupyter notebook 中运行此代码后
!pip install COVID19Py
这是命令:
Collecting COVID19Py
Using cached COVID19Py-0.3.0.tar.gz (4.9 kB)
ERROR: Command errored out with exit status 1:
command: 'e:\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\RENSHA~1\\AppData\\Local\\Temp\\pip-install-8p0iwje4\\COVID19Py\\setup.py'"'"';
__file__='"'"'C:\\Users\\RENSHA~1\\AppData\\Local\\Temp\\pip-install-8p0iwje4\\COVID19Py\\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 'C:\Users\RENSHA~1\AppData\Local\Temp\pip-pip-egg-info-aru6cxyv'
cwd: C:\Users\RENSHA~1\AppData\Local\Temp\pip-install-8p0iwje4\COVID19Py\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\RENSHA~1\AppData\Local\Temp\pip-install-8p0iwje4\COVID19Py\setup.py", line 4, in <module>
long_description = fh.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa8 in position 4010: illegal multibyte sequence
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
我已经更新了python -m pip install --upgrade setuptools
和python -m pip install --upgrade pip
但它不起作用。
工作环境:
视窗 10
解决方案
推荐阅读
- node.js - 节点:Node-sass 在 npm install 上不包含“供应商”文件 =>“错误:ENOENT:没有这样的文件或目录,scandir '...\node-sass\vendor'”
- java - 如何从运行在本地 docker 容器中的 rabbitmq 队列中读取消息
- python - 在不再次运行代码的情况下更新我的应用程序
- asp.net - IIS 10 重写 301
- aspose.words - 如何在 Aspose.words Word 模板中创建表格?
- python - 如何在 Python3 中反转单独的行和单词,专门处理文本文件中的每个段落?
- javascript - 设置异步等待功能顺序
- validation - 对 Google 表格中特定行的基于用户的限制
- google-apps-script - 使用 Google 电子表格中的脚本从手机获取我当前的位置
- asynchronous - 使用未来