安装ModuleNotFoundError: No module named 'skimage'报错

跑代码时遇到ModuleNotFoundError: No module named 'skimage',所以就想当然输入指令

pip install skimage

于是终端报错显示:

vbnet 复制代码
Collecting skimage
  Downloading skimage-0.0.tar.gz (757 bytes)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      
      *** Please install the `scikit-image` package (instead of `skimage`) ***
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

原来是因为scimage是包的缩写,得安装完整的包名。输入指令pip install scikit-image,安装成功~

相关推荐
AI大模型16 小时前
一篇图文彻底搞懂什么是AI Agent
程序员·llm·agent
舒一笑18 小时前
在工具泛滥的时代,我为什么还要做一个“不一样“的工具站
程序员
阿里嘎多学长1 天前
2025-12-12 GitHub 热点项目精选
开发语言·程序员·github·代码托管
AI大模型2 天前
【连载】零基础跟我学做AI Agent(第4课:用Autogen开发一个学霸Agent)
程序员·llm·agent
程序员鱼皮2 天前
干掉 Draw.io,这个程序员画图神器杀疯了!
图像处理·计算机·程序员·软件开发·编程经验
CodeSheep2 天前
这个知名编程软件,正式宣布停运了!
前端·后端·程序员
SimonKing2 天前
镜像拉不下来怎么办?境内Docker镜像状态在线监控来了
java·后端·程序员
阿里嘎多学长2 天前
2025-12-11 GitHub 热点项目精选
开发语言·程序员·github·代码托管
创码小奇客3 天前
《梅雨季的除湿量》
程序员·创业·电子书