腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
导入
python
matplotlib
时
出错
python
、
macos
、
matplotlib
、
anaconda
我正在尝试使用Anaconda和
python
3.4
导入
matplotlib
函数(Mac OS 10.11.4
在
程序
中
,当我使用:import
matplotlib
.pyplot as pltFile "/Users/myname/anaconda
浏览 0
提问于2016-07-08
得票数 0
2
回答
在
Python
中
导入
matplotlib
时
出错
python
、
matplotlib
、
jupyter
我是
python
的新手,现在才刚刚开始。我的大学有一台Jupyter Notebook,我必须用
matplotlib
绘制一些东西。我在网上找到的就是这样: import numpy as np<ipython-input-12-e0e1492b7973> in <module>----> 2
浏览 9
提问于2021-02-07
得票数 0
1
回答
Ubuntu18.04更新后无法
导入
matplotlib
,因为缺少"functools_lru_cache“
python
、
matplotlib
、
ubuntu-18.04
我最近将我的Ubuntu更新到了18.04,现在使用
Python
(2.7)
时
,我不能再
导入
matplotlib
了。
导入
时
出错
:Traceback (most recent call last):File"~/.local/lib/
python
浏览 1
提问于2018-05-03
得票数 0
1
回答
如何在R
中
运行
python
python
、
r
、
r-markdown
、
reticulate
我想要配置Rstudio和
python
,这样我就可以处理R markdown文件,并在Rstudio中使用
python
代码,因为我想利用ggplot2包。, include=FALSE}库(网格化)```{
python
} 将nump
浏览 3
提问于2020-07-31
得票数 2
1
回答
如何防止pip自动安装支持包?
python
、
matplotlib
、
pip
我
在
venv中使用
python
3.6.0。我想要"pip安装“
matplotlib
==2.0.0,但是当我这样做
时
,pip似乎会自动获取所有其他所需的
matplotlib
支持包的最新版本。这些最新的支持包版本似乎不适用于较早版本的
matplotlib
,当试图
导入
matplotlib
时
,它会抛
出错
误。 如何安装
matplotlib
而不尝试自动安装其所有支持包?我目前的临时解决方案是
在
浏览 5
提问于2022-05-10
得票数 -1
回答已采纳
13
回答
虽然已安装,但
Python
2.7 functools_lru_cache不会
导入
python
、
matplotlib
、
backport
当我尝试
导入
matplotlib
时
,我得到一个错误 File "<stdin>", line 1, in <module>File "/usr/local/lib/
python
2.7/dist-packages/
matplotlib
/__init__.py", line 128, in <mod
浏览 2
提问于2017-11-08
得票数 32
2
回答
导入
matplotlib
的
python
脚本成功,但冻结的脚本二进制失败
python
、
matplotlib
我的脚本需要
导入
numpy、sklearn和
matplotlib
,但我无法安装sklearn。对于我的问题,给出了一个非常有用的回答,解释说我需要重新安装numpy。,第32行,
在
文件"/Library/
Python
/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py",第389行
中
,
在
load_moduleexec
中</em
浏览 0
提问于2016-08-14
得票数 0
2
回答
添加新的Jupyter环境会中断
Matplotlib
,并出现ft2font
导入
错误
python
、
matplotlib
、
jupyter
现在,当我
在
Jupyter中使用这个新的Conda环境
导入
matplotlib
时
,我得到了这个错误: ImportError回溯(最近一次调用)
在
1
导入
数值为np 2
导入
熊猫为pd ->3
导入
matplotlib
.pyplot为plt 4 get_ipython().run_line_magic('
matplotlib
','inline') 5
导入
<
浏览 5
提问于2020-03-19
得票数 0
1
回答
如何从
python
3.6添加
matplotlib
到Blender?
python
、
matplotlib
、
blender
在窗口中,我安装了
python
3.6,并通过命令行安装了
matplotlib
:安装之后,我
在
python
控制台中运行
matplotlib
,import
matplotlib
.pylab as plb 我想在搅拌器中使用
py
浏览 2
提问于2017-03-22
得票数 0
回答已采纳
1
回答
在
Ubuntu 12.04上通过pip安装
matplotlib
python
、
matplotlib
、
ubuntu-12.04
我试图
在
Ubuntu12.04上使用
matplotlib
。--查找-链接=轮转/-构建=构建/
matplotlib
In 2:
matplotlib
.get_backend/home/yefremat/.local/lib/
python
2.7
浏览 8
提问于2014-09-02
得票数 0
回答已采纳
1
回答
我
在
Visual
中
安装了
matplotlib
,但是每当我试图运行该文件
时
,它都会显示错误
matplotlib
、
graph
、
importerror
回溯(最近一次调用):文件"c:\Users\user\Documents\plot.py",第1行,
在
from
matplotlib
中
导入
pyplot c:\Users\user\Documents\\Users\user\AppData\Roaming\
Python
\
Python
311\site-packages\
matplotlib
\scale.py”,第23行
在
from
导入
(文件"C:\Users\user\App
浏览 1
提问于2022-11-06
得票数 0
1
回答
在
Ubuntu上安装
matplotlib
: ImportError
python
、
matplotlib
、
importerror
我的平台:安装
matplotlib
失败,ImportError:没有名为pyplot的模块。我尝试过很多方法,例如简单的安装,从源代码安装.Traceback (most recent call last)----> 1 import
matplotlib</e
浏览 0
提问于2013-07-11
得票数 4
回答已采纳
3
回答
"Import“未被识别,正常的
导入
是
python-3.x
、
matplotlib
、
import
为了更好地理解
matplotlib
的结构,我正在玩
matplotlib
,下面的代码使我感到困惑:from mpl import pyplot as pltattribute 'pyplot'import
matplotlib
from
matplotlib
import pyplot更疯狂的是,如果我把这两个
导入</
浏览 8
提问于2022-03-20
得票数 5
回答已采纳
1
回答
导入
matplotlib
.pyplot
Python
时
出错
python
、
matplotlib
我有一个问题,当
导入
matplotlib
.pyplot,我有
python
2.7windows 7 64位 File "<pyshell#16>", line 1, in <module> import
matplotlib
.pyplot as pltFile "C:\
Pyt
浏览 0
提问于2016-05-30
得票数 1
1
回答
不能在
python
2.7.5上
导入
matplotlib
python
、
matplotlib
、
import
、
module
、
importerror
我使用
matplotlib
安装了
matplotlib
(pip install --用户
matplotlib
),安装成功了。当我试图使用
python
中
的
导入
matplotlib
(
导入
matplotlib
)
导入
它
时
,我得到了以下错误: Traceback (最近一次调用):File "",第1行,
在
导入
matplotlib
Im
浏览 0
提问于2015-06-27
得票数 1
3
回答
无法
导入
“
matplotlib
.pyplot”
python
、
matplotlib
、
visual-studio-code
一旦我试图:Visual告诉我:无法
导入
“
matplotlib
.pyplot”
Python
3.7.4(默认值,2019年8月13日,15:17:50) Clang 4.0.1 (标记/Release401/final) ::Anaconda公司,位于达尔文如果我进去
浏览 1
提问于2020-01-23
得票数 1
回答已采纳
2
回答
Python
:
导入
matplotlib
但不能使用imshow
python
、
python-2.7
、
ubuntu
、
matplotlib
我
在
Ubuntu
中
作为虚拟盒客户
在
Windows机器上工作(作为主机),我正在尝试从终端上运行我的
python
脚本。我
在
使用pip安装
matplotlib
时
遇到了困难。我设法安装它使用 import numpy as np import
matplotlib</em
浏览 8
提问于2018-01-08
得票数 3
回答已采纳
2
回答
在
MacOSX10.6上的
Python
2.7
中
导入
matplotlib
.mlab和.pyplot
时
出现问题
python
、
matplotlib
、
osx-snow-leopard
我正在尝试使用OSX 10.6上
Python
2.7
中
的
matplotlib
绘制直方图import numpy as npimport
matplotlib
.pyplot as plt但是,我
浏览 2
提问于2011-08-23
得票数 4
回答已采纳
1
回答
在
python
中
导入
matplotlib
.pyplot
时
出错
python
、
matplotlib
昨天我试着写一个程序,我必须在其中
导入
matplotlib
。因此,当我试图
在
导入
程序后运行它
时
,它开始运行其他程序,而不是我编写的程序,并且在运行其他程序后,它显示了一个错误: Traceback (most recent call last): import
matplotlib
.pyplot as plt File
浏览 24
提问于2020-04-17
得票数 0
回答已采纳
1
回答
是什么导致
Python
在
导入
matplotlib
时
出错
?
python
、
python-3.x
、
matplotlib
我的代码如下所示:y = [5,5,5] plt.ylabel('- Test Scores (in %) -') plt.show()import
matplotlib
浏览 2
提问于2021-05-05
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
使用 Matplotlib 在 Python 中画虚线实现数据可视化效果
在Python中实现导入模块后直接调用函数的方法
如何用Python绘制学术报告图表?
python绘制数据热度图
Matplotlib 教程(一):简介
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券