安装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,安装成功~

相关推荐
蝎子莱莱爱打怪15 小时前
自用推荐|XTerminal:我心中 SSH 客户端的终极形态
java·后端·程序员
得物技术16 小时前
让 Claude Code 拥有自我进化和记忆系统|得物技术
程序员·ai编程·claude
uzong19 小时前
企业智能助手的实践分享(LLM/RAG)
后端·程序员·架构
程序员cxuan1 天前
Claude Fable 5 来了
人工智能·后端·程序员
江米小枣tonylua1 天前
关掉 VSCode:在 NeoVim12 上配置 Claude Code
前端·程序员
程序员cxuan1 天前
Agents.md 是什么
人工智能·后端·程序员
SimonKing2 天前
线程池面试被问到怕?看完这篇让他当场沉默
java·后端·程序员
阿里嘎多学长2 天前
2026-06-09 GitHub 热点项目精选
开发语言·程序员·github·代码托管
该用户已不存在2 天前
这9款开发工具夯爆了,用了都说好
后端·程序员·全栈
阿里嘎多学长3 天前
2026-06-08 GitHub 热点项目精选
开发语言·程序员·github·代码托管