python - 如何在 vs code python 中导入 skimage?它向我显示了图像和文本中提到的错误
问题描述
pip install skimage:</p>
Collecting skimage
Using cached skimage-0.0.tar.gz (757 bytes)
ERROR: Command errored out with exit status 1:
command: 'c:\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Dell\\AppData\\Local\\Temp\\pip-install-auzblq4_\\skimage\\setup.py'"'"'; __file__='"'"'C:\\Users\\Dell\\AppData\\Local\\Temp\\pip-install-auzblq4_\\skimage\\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\Dell\AppData\Local\Temp\pip-pip-egg-info-9s1nfssp'
cwd: C:\Users\Dell\AppData\Local\Temp\pip-install-auzblq4_\skimage\
Complete output (3 lines):
*** Please install the `scikit-image` package (instead of `skimage`) ***
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\python39\python.exe -m pip install --upgrade pip' command.
解决方案
根据您提供的信息中的“请安装scikit-image
包(而不是skimage
)”,请安装“ scikit-image ”:
推荐阅读
- javascript - 单击按钮时如何使HTML页面一直向上滚动?
- java - 在android中以编程方式以mm为单位的视图大小
- python-3.x - 在 Linux Python 3.8.5 上安装 Discord.py
- java - NoClassDefFoundError: io/restassured/RestAssured 发生错误
- c# - blazorise中发生悬停伪类时如何显示下拉列表?
- docker - 如何将构建 docker 容器的命令放入 dockerfile?
- javascript - 在单行 JavaScript 中创建后撤销 blob URL
- python - 在 Python 中的列表中查找子字符串
- javascript - JavaScript 算法题:从一个数组中找出总和最大的连续子数组
- excel - 删除 seriescollection 数据标签