腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
导入
matplotlib
时
出现
属性
错误
python
、
python-3.x
、
matplotlib
每次我将
matplotlib
导入
到我的python程序中
时
,我都会收到这个
错误
(这里的程序只有一行"import
matplotlib
.pyplot as plt"): Traceback (mostrecent call last): import
matplotlib
.pyplot as plt File"D:\Other pr
浏览 29
提问于2021-01-09
得票数 0
回答已采纳
3
回答
为什么
matplotlib
没有
属性
'pylab'?
python
、
matplotlib
我以这样的方式
导入
了
matplotlib
:当我运行以下代码
时
,‘模块’对象没有
属性
'pylab'的
错误
被抛出:y = np.sin(x)mpl.pylab.show() 当我以另一种方式
导入
matplotlib
时
,没有
浏览 1
提问于2011-04-18
得票数 4
回答已采纳
1
回答
AttributeError:模块“
matplotlib
.dates”没有
属性
“_rcParam_helper”
python
、
matplotlib
当我试图
导入
matlibplot或sns或巧妙地
导入
下面的包
时
,会
出现
以下
错误
AttributeError:模块'
matplotlib
.dates‘没有
属性
'_rcParam_helper’。
浏览 3
提问于2022-05-04
得票数 -1
1
回答
Matplotlib
mpl.figure.Figure()失败,而无花果,ax=plt.subplots()成功
python
、
matplotlib
、
matlab-figure
我想要创建一个
matplotlib
图,而不需要使用
matplotlib
2.1.2来使用pyplot。如果
出现
属性
错误
,这将失败。import
matplotlib
as mpl AttributeError:模块“
matplotlib
”没有
属性
“图” 但是,如果有任何后端的
导入
或者在木星内部,如果有一个%
matplotlib
inline或%
matpl
浏览 2
提问于2020-03-09
得票数 0
回答已采纳
1
回答
使用cron运行python脚本,
matplotlib
错误
python
、
matplotlib
、
cron
脚本运行时没有从命令行发出任何问题,但是在从cron运行时,
matplotlib
有问题。
错误
在下面。-1.5.0_818.gfd83789-py2.7-linux-x86_64.egg/
matplotlib
/pyplot.py", line 2785, in fill_between ax =/
matplotlib
-1.5.0_818.gfd83789-py2.7-linux-x86_64.egg/
matplotlib
/pyplot.py
浏览 2
提问于2016-01-14
得票数 3
2
回答
Matplotlib
和datetime误差date2num函数AttributeError
python
、
datetime
、
matplotlib
但是,当我调用它
时
,会得到一个
属性
错误
。datetime.date(2013, 8, 20), datetime.date(2013, 8, 21)]以下是我遇到的
错误
:File "<pyshell#30>", line 1, in <module> dates =
matplotlib
.d
浏览 0
提问于2013-08-21
得票数 3
回答已采纳
2
回答
Jupyter在
导入
matplotlib
时
出现
导入
错误
python
、
matplotlib
、
ipython
、
jupyter
、
enthought
当尝试
导入
IPython笔记本中的
matplotlib
时
,%
matplotlib
inlineImportErrorTraceback (most recent call last)----> 1 import
matplotlib
.pyplotas plt
浏览 0
提问于2016-04-01
得票数 0
1
回答
Matplotlib
- AttributeError:'version_info‘对象没有
属性
’__version__‘
python
、
matplotlib
、
attributeerror
我不知道如何纠正这个
错误
。我试过到处找。只有当我试图与
matplotlib
交互
时
,才会
出现
此
错误
。我的pip已经完全升级,我使用python3.6.0作为一个类。谢谢!文件
导入
matplotlib
跟踪(最近一次调用):文件"",第1行,文件"C:\Users\syner\AppData\Local\Programs\Python\Python36-32\lib\site-packages
导入
cbook,rcsetup &q
浏览 9
提问于2022-02-01
得票数 3
回答已采纳
2
回答
如何修复此
错误
"AttributeError:模块‘套接字’没有
属性
'gethostname'“
python
、
python-3.x
、
windows
、
sockets
、
pycharm
此
错误
发生在PyCharm中c = socket.gethostname()你有什么解决方案吗?
浏览 0
提问于2019-08-14
得票数 1
1
回答
如何在Anaconda Navigator中重新安装
Matplotlib
,以便在Jupyter Notebook中使用?
python
、
matplotlib
、
jupyter-notebook
、
anaconda
我尝试重新安装
Matplotlib
,在此之后,当我尝试
导入
Matplotlib
时
,此安装可能会产生一些
错误
。当我尝试
导入
Matplotlib
时
,总是会
出现
下面的
错误
。as plt 我尝试通过Anaconda Navigator再次安装
Matplotlib
。然后,
浏览 23
提问于2019-07-21
得票数 0
1
回答
使用Google App Engine的
Matplotlib
python
、
google-app-engine
、
import
、
matplotlib
我在将
matplotlib
导入
到谷歌应用程序引擎
时
遇到了问题。我在谷歌上到处搜索,找到了一些解决方案,但似乎没有一个对我有效。在我的app.yaml文件中- name:
matplotlib
- name: numpy在我的python文件中,我将
导入
我可以拥有的numpy问题是当我尝试
导入
matplotlib
时
i
浏览 2
提问于2013-01-27
得票数 5
回答已采纳
3
回答
python中的
导入
链引发
错误
python
、
anaconda
、
chainer
我知道
错误
: 当我在ipynb中
导入
chainer
时
。我正在使用python 2、anaconda 4.1.1、chainer 4和
matplotlib
1.5.1。
浏览 0
提问于2018-07-05
得票数 0
1
回答
导入
滑雪板但不能调用sklearn.linear_model
python
、
scikit-learn
、
spyder
我已经安装了sklearn,并且能够使用命令import sklearn
导入
sklearn。>同时,我能够直接
导入
AppData\Local\conda\conda\envs\python2\lib\site-上述情况不正确,例
浏览 0
提问于2017-09-26
得票数 2
回答已采纳
1
回答
Python(x,y)插件更新后
导入
错误
numpy
、
matplotlib
、
pandas
、
pythonxy
我更新了Pandas到版本0.12.0-7,
matplotlib
到版本1.3.1-4,numpy到版本1.6.2。我通过下载Python(x,y)页面上的插件并双击可执行文件来做到这一点。现在,我在尝试
导入
Matplotlib
和pandas
时
出现
错误
。当我尝试
导入
matplotlib
时
,
错误
是:当我尝试
导入
浏览 2
提问于2014-01-03
得票数 0
1
回答
Visual Studio代码中用于
matplotlib
和pandas的ModuleNotFoundError
python
、
pandas
、
matplotlib
、
visual-studio-code
、
pylance
当我在我的代码中将
matplotlib
.pylot作为plt和pandas作为pd
导入
并运行它
时
,我在终端中得到
错误
消息“
matplotlib
”和"ModuleNotFoundError:没有名为‘pandas’的模块“(当我的代码的第一行有
导入
pandas模块
时
,会发生pandas
错误
)。当我将鼠标悬停在这两个模块上
时
,将
出现
消息“
导入
'
matplotlib
.
浏览 32
提问于2021-05-13
得票数 0
0
回答
使用Anaconda
导入
matplotlib
时
出现
unicode
错误
python
、
matplotlib
、
tkinter
我正在使用tkinter制作GUI,并使用
matplotlib
在tk窗口中打印一些图形。但是当我运行代码
时
,它给了我一个"unicode
错误
“。我已经知道问题出在路径中的"\U“部分,但我找不到一种方法来更改这一点并删除
错误
。
浏览 1
提问于2016-12-22
得票数 0
1
回答
Visual studio代码:"
matplotlib
“未被访问Pylance
python
、
visual-studio
、
matplotlib
、
anaconda
当我尝试
导入
matplotlib
时
,标题中
出现
错误
。我已经找了3个小时了,仍然没有找到答案。我已经尝试了source activate base更换解释器,我已经更新到了最新的
matplotlib
。我尝试过echo "backend : TkAgg" > ~/.
matplotlib
/matplotlibrc,但这些都不起作用。但是,numpy可以工作,但出于某种原因,
matplotlib
不能。most re
浏览 177
提问于2021-09-17
得票数 1
回答已采纳
3
回答
"Import“未被识别,正常的
导入
是
python-3.x
、
matplotlib
、
import
attribute 'pyplot'import
matplotlib
奇怪的是,我可以从pyplot访问
属性
,即使我将它引
浏览 8
提问于2022-03-20
得票数 5
回答已采纳
1
回答
Pylab -“模块”对象没有
属性
“图”
python
、
matplotlib
、
tkinter
我的问题是,我说错了: self.fig = FigureCanvasTkAgg(pylab.figure(),编辑from Tkinter import *from ttk import Stylefrom
matplotlib
.backends.backend_tkaggimport FigureCanvasTkAgg import
matplotlib
.p
浏览 0
提问于2015-08-28
得票数 6
回答已采纳
3
回答
从
matplotlib
导入
pyplot
时
出错
python
、
matplotlib
我
导入
了整个
matplotlib
模块,它可以工作。但是当我从
matplotlib
导入
pyplot
时
,如下所示:
出现
错误
。我已尝试
导入
PyQt5。没问题。我想知道为什么pyplot需要PyQt4。如何解决此问题?任何建议都将不胜感激。
浏览 4
提问于2016-11-24
得票数 0
点击加载更多
相关
资讯
mac环境运行matplotlib时出现ImportError:Python is not……as a framework
Facebook广告账户出现错误提示时,如何应对?
CAD创建图块时出现错误?教你三招轻松解决!
上网时出现http 500 服务器错误该怎么办?
调用 Express API时出现奇怪的CORS错误该怎么办?
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券