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
相关推荐
汤姆小白5 小时前
08-应用部署
人工智能·python·机器学习·numpy·transformer
汤姆小白1 天前
02-Tokenizer原理与实现
人工智能·python·机器学习·numpy
汤姆小白2 天前
01-环境搭建与项目导览
人工智能·python·机器学习·numpy
CS创新实验室2 天前
NumPy数组的C风格和Fortran风格
c语言·开发语言·numpy
梅雅达编程笔记3 天前
零基础学 Python 第7章 | 字典 dict:键值对存储
开发语言·python·beautifulsoup·numpy·pandas
月疯10 天前
np.where()[0]的用法
开发语言·python·numpy
你想知道什么?10 天前
NumPy常用函数
numpy
风流 少年11 天前
数据分析:numpy
数据挖掘·数据分析·numpy
fai厅的秃头姐!12 天前
数据分析-Numpy
数据挖掘·数据分析·numpy
m沐沐1 个月前
【计算机视觉】OpenCV 模板匹配银行卡数字识别---下
人工智能·python·opencv·计算机视觉·pycharm·numpy