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
相关推荐
菜冻鱼2 天前
Python-pandas-索引与筛选
开发语言·笔记·python·numpy·pandas·学习方法
小趴蔡ha3 天前
03 NumPy 入门:机器学习中的数组和矩阵
python·线性代数·机器学习·numpy
乱七八糟的屋子5 天前
【C++数值计算】NumCpp超详细入门教程(纯正Numpy语法、零学习成本、C++首选科学计算库、性能压测对比)
c++·数值计算·numpy·高性能计算·科学计算·ndarray
Lee_jerome6 天前
python神经网络编程入门(二十)——RNN LSTM 数学原理与结构拆解
深度学习·numpy·lstm·参数量·sigmoid·tanh·门控机制
赤羽尾风7 天前
NumPy快速入门
python·numpy
Xiaok10187 天前
NumPy 数组 vs PyTorch Tensor
人工智能·pytorch·numpy
MIUMIUKK7 天前
数据分析(1/3)——Numpy数组基础学习笔记
numpy
Lee_jerome7 天前
python神经网络编程入门(十七)——RNN BPTT算法(上):梯度沿时间轴传播的链式法则
rnn·深度学习·神经网络·numpy·反向传播·梯度消失·bptt
编程阿峰9 天前
Python 环境配置(二)安装jupyter、matplotlib、numpy库
开发语言·python·jupyter·numpy·matplotlib
swany9 天前
同步数据中,只需要几秒钟 & milvus向量数据库不可用 dify1.16.1 升级后踩坑记录
开发语言·python·numpy