From matplotl1b.path 1mport failed to import ImportError:numpy.core.multiarray

问题:From matplotl1b.path 1mport

failed to import

ImportError:numpy.core.multiarray

安装labelme的时候说numpy与环境不兼容,调不了labelme

解决1:安装虚拟环境

(这里安装labelmede 虚拟环境)

python 复制代码
#查看python版本
python -V
#创建虚拟环境
conda create labelme --name=labelme python=3.9.7
#查询conda里面创建了哪些虚拟环境
conda env list
#进入环境
activate labelme
#安装labelme
conda install labelme
#激活环境
activate labelme

解决2:降版本

python 复制代码
pip install numpy==1.26.4
相关推荐
2601_9679873711 小时前
使用 NumPy 和 Python 实现梯度下降
python·机器学习·线性回归·numpy·梯度下降
郝学胜-神的一滴3 天前
Effective Python 条款36:优雅拼装迭代器与生成器
开发语言·数据结构·人工智能·python·numpy·scikit-learn
2601_967979125 天前
简单学Python——NumPy库6——数值计算1——累加和累乘
数值计算·numpy·数组·累加·累乘
LiaoWL1235 天前
从零搭一个 RAG 知识库(二):换上语义 Embedding——BGE 实测与阈值重校准
python·大模型·numpy·embedding·向量检索·rag
LiaoWL1239 天前
NumPy 入门实战(二):向量化与余弦相似度——从 ndarray 到 Embedding
python·numpy·embedding
郝学胜-神的一滴11 天前
LangChain Skill 实现(渐进披露 On-Demand Skill,LangChain 官方 Deep Agent Skill 模式)
开发语言·python·langchain·numpy
2601_9679801114 天前
Python中flatten( )函数及函数用法详解
python·numpy·数组操作·flatten函数·列表处理
郝学胜-神的一滴16 天前
AI 编程智能体 27:吃透MCP通信机制
人工智能·python·langchain·wpf·numpy·scikit-learn
aifannihao17 天前
AI 学习第 5 课:手推逻辑回归与交叉熵,L2 把可分数据的权重按住
人工智能·机器学习·逻辑回归·numpy·学习路线
2601_9679873718 天前
图灵星环:Python NumPy数组的维度压缩squeeze删除单维度
机器学习·numpy·数据预处理·数组处理·维度压缩