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
相关推荐
月疯9 小时前
np.where()[0]的用法
开发语言·python·numpy
你想知道什么?1 天前
NumPy常用函数
numpy
风流 少年2 天前
数据分析:numpy
数据挖掘·数据分析·numpy
fai厅的秃头姐!3 天前
数据分析-Numpy
数据挖掘·数据分析·numpy
m沐沐20 天前
【计算机视觉】OpenCV 模板匹配银行卡数字识别---下
人工智能·python·opencv·计算机视觉·pycharm·numpy
云和数据.ChenGuang22 天前
大模型厂商常用的数据库有哪些?
数据库·人工智能·pytorch·深度学习·numpy
MATLAB代码顾问23 天前
Python NumPy数值计算核心指南
开发语言·python·numpy
FBI HackerHarry浩23 天前
解决pip 安装 numpy 时元数据生成失败
numpy·pip
m沐沐25 天前
【计算机视觉】OpenCV 模板匹配银行卡数字识别---上
人工智能·后端·python·opencv·计算机视觉·pycharm·numpy
iRayCheung1 个月前
virtualbox安装的ubuntu系统跑numpy报错
linux·ubuntu·numpy