problems accessing Tkinter module. Oddly enough, when I run from the Python 3. Figure 3: Setting the aspect ratio to be equal and zooming in on the contour plot. Tkinter supports showing a message box. A module is a file containing Python definitions and statements. Ok je crois que j'ai saisi le problème, tu utilises Python 3. Mar 31, 2016 · I tried to use the matplotlib package via Pycharm IDE on windows 10. Either they are wanting to see it for themselves to get a better grasp of the data, or they want to display the data to convey their results to someone. The most important features are listed below. linspace(0, 99, 100) y = x * 10 plt. Tkinter image. Traté de usar la matplotlib paquete a través de Pycharm IDE en windows 10. 6 directorio que contiene todos los archivos de la biblioteca y, de hecho, se había perdido el tkinter. Sometimes it might be tricky to install. Matplotlib is currently using agg, which is a non-GUI backend 和 ImportError: No module named 'Tkinter' [closed] 跑maskrcnn报错:UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal. org/users/pyplot_tuto. org/users/pypl. import matplotlib matplotlib. 7 or WinPython 3. If, however, you really need to access the downloads directly, they are available on PyPI. 解决方案 在centos系统下,导入matplotlib时,出现ImportError: No module named '_tkinter'的错误,首先 yum list installed | ImportError: No module named MySQLdb解决办法. anaconda経由で入れたPython 3. 0环境下matplotlib中ImportError: No module named _tkinter问题解决。Matplotlib是一个Python下的图形框架,可以很方便地进行图形化显示。. Ошибка ""module" has no attribute "pack"" Здравствуйте! Пишу приложение на python 3. 10更新 本文主要对博主多年的vim使用经验做下总结,主要介绍博主工作中最常用到的一些VIM使用技. The question is why your installation of matplotlib is not using the right import name, if that is the case. By uninstalling matplotlib it and reinstalling from the wheel matplotlib-1. In this video, we begin discussion of the tkinter module. py", line 6, in import matplotlib. 我知道在python 2. 01) # Grid of 0. ModuleNotFoundError: No module named 'PyQt4' J'ai essayé d'installer le module PyQt4, mais cela ne change rien. Matplotlib along with NumPy can be considered as the open source equivalent of MATLAB. x , import , python-import I know that there are many variations of this question, but I could not find one like mine. hi i have a great problem I insalled python3. 2-cp35-cp35m-win_amd64. Either they are wanting to see it for themselves to get a better grasp of the data, or they want to display the data to convey their results to someone. Traté de usar la matplotlib paquete a través de Pycharm IDE en windows 10. (Full Traceback ) I've tried the methods mentioned in here, but still can't fix it. How did you install python3? I ask because I see yours is installed in /usr/local/lib and if installed with apt, it installs to /usr/lib. sudo make install. For example, it may be easier to start a new virtual environment in a new directory, install matplotlib, and try to run the tutorial ( https://matplotlib. 7库导出Tkinter出现 ImportError: No module named _tkinter,网上许多解决方案(安装tk-devel,tcl-devel等)都不行,请问怎么解决. pyplot as plt. [Python] Install Tkinter for Windows 7 64-bit; Jonas Thornvall. The current stable version is. 01 spacing from -2 to 10. In python 2 in kubuntu, I can import it directly. Ask Question Asked 5 years, 2 months ago. I also updated the Pi with the latest version with sudo apt-get update and sudo apt-get dist-upgrade. 次浏览 分类:python. colorchooser. 4 で matplotlib を使おうとすると ModuleNotFoundError: No module named '_tkinter' って怒られた.もちろんpython -m tkinterでも同じエラーが.…. I have an issue getting TurtleWorld to work for my book "ThinkPython" for version 3. python - python3 & pyqt4 & cx_freeze: no module named 'sip' I just recently learned some python & pyqt basics, and today i wanted to convert a program I made to exe. 2 ne marche pas, je ne comprend pas pourquoi. Larz60+ wrote Oct-21-2018, 06:32 PM: Please post all code, output and errors (it it's entirety) between their respective tags. use() directive before importing pylab or pyplot:. 根据Python介绍发现 在Python2 和Python3 中该包名称是不一样的,在 python2中叫Tkinter; 在python3中叫tkinter. centos6.5 导入matplotlib报错 No module named &#39;_tkinter. pyファイルが見つからないときに出ます。 果てしなく既出っぽいですが、他のモジュールを使うときの3通りの方法をまとめます。. I renamed it to C:\Python27\ and it resolved the problem. In this video, we begin discussion of the tkinter module. I'm running Python 3. Men är jag försöker importera matplotlib får jag följande error:. You can follow the question or vote as helpful, but you cannot reply to this thread. 然后报错如下: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'tkinter' 但是我已经sudo apt-get install python3-tk了啊 为什么还是找不到模块。目前用的python3 然后我在matplotlib下画图,也是报这个错。 import matplotlib. When using libraries such as matplotlib, the default behaviour of jupyter is to display an interactive graph that is (quite unfortunately - for now) supported only in the Jupyter Notebook. use('Agg') ' in the code before importing matplot. Hi Berk, I was unable to install matplotlib inside a virtualenv, but I found the recommendations in the following link. It is well suited when you want to measure the changes over a period of time. show()としてもウンともスンとも言わなかった。で探しているうちにmatplotlibのbackendにTkを指定しないと描画が行われないとの情報があった。. I'm running Python 3. There are a few possibilities to build Matplotlib on Windows: Wheels via matplotlib-winbuild; Wheels by using conda packages (see below) Conda packages (see below). cross_validation import cross_val_score Traceback (most recent call last): File "", line 1, in ImportError: No module named 'sklearn. Ask Question Asked 5 years, 2 months ago. 7 $ python3 -m pip install matplotlib $ python3 -m pip show matplotlib | grep Version Version: 3. 7 or WinPython 3. pyファイルが見つからないときに出ます。 果てしなく既出っぽいですが、他のモジュールを使うときの3通りの方法をまとめます。. cuando ejecuto este código: from matplotlib import pyplot. 6; Jupyter Notebook: no module named pandas; Issue clearing the Tkinter Canvas widget using also matplotlib; Dendrogram or Other Plot from Distance Matrix; jQuery-Marquee only working. I tried to use the matplotlib package via Pycharm IDE on windows 10. ImportError: No module named ' ImportError: No module named setuptools No module named MySq No module named yum No module named mime. centos中Python2. 且つ、pyenv上の既に作成済の環境でtkinterを利用するには、既存のpython環境を再作成する必要がありました。. ImportError: No module named 'tkinter' tkinter は GUI ライブラリの Tk を Python から利用できるようにしたモジュールです。 Tk 自体はもはや時代遅れの GUI ライブラリですが、 matplotlib ではまだ Tk を使用しているので、 tkinter のインストールが必要です。. Often times you may need to place matplotlib charts on a tkinter GUI. Either they are wanting to see it for themselves to get a better grasp of the data, or they want to display the data to convey their results to someone. git-81489b4-) netCDF4 (1. pyplot を行うと、 ModuleNotFoundError: No module named 'tkinter'. You can get around this, by directly importing the colorchooser module like so: >>> import tkinter. Please include your account name (wiki name) in this message. And so, in this tutorial, I’ll show you the steps to place matplotlib charts on a tkinter GUI. cuando ejecuto este código: from matplotlib import pyplot. Matplotlib compiled fine, but nothing shows up when I use it¶. sudo yum -y install tkinter Just want to say, "I'm back". version_info [0] < 3: import Tkinter as tk else: import tkinter as tk import matplotlib. ModuleNotFoundError: No module named 'PyQt4' J'ai essayé d'installer le module PyQt4, mais cela ne change rien. For example, the following shows a typical set of import statements for python 2. Me sale el siguiente error: ImportError: No module named 'tkinter' Sé que en python 2. py in its default module search path. For example, the following shows a typical set of import statements for python 2. import tkinter. Initially I had Python2. docker run --rm -it ubuntu:18. 1 is broken with respect to tkinter. 在Python3下运行Matplotlib之时,提示No module named 'tkinter'这个问题,下面记录下解决过程,并尝试分析过程中的解决思路利弊得失,以资后效,这里重点提示需要关注错误信息的分析,这个是第一现场。. If you just can't get past ImportError: No module named '_tkinter', read on. requirements. Yes indeed, the matplotlib module in Anaconda 4. 6 ModuleNotFoundError: No module named 'tensorflow' sudo apt install python3-pip sudo python3 -m pip install tensorflow sudo python3 -m pip show ten. sudo apt-get install python3-tk 0 Votes Utopia. I have a hunch this is due to a typo, what you're looking for is the numpy data type uint8. Swampy source for Python 3: swampy-2. 1 (pyenv) matplotlib 1. Python when combined with Tkinter provides a fast and easy way to create GUI applications. parser'; 'html' is not a package I call it with python3 program. 首先使用以下命令查看模块是否存在. In python 2. pythonでimport matpliotlib. Ubuntu环境Python3下""import matplotlib""失败,提示"No module named _tkinter"的问题 09-19 阅读数 361 环境Ubuntu18. import matplotlib. 解决方案 在centos系统下,导入matplotlib时,出现ImportError: No module named '_tkinter'的错误,首先 yum list installed | ImportError: No module named MySQLdb解决办法. In Windows 10 Bash Subsystem the Tk and Tcl are already included, so I thought Ubuntu already had it. Instead of implementing those in Tkinter GUI on your own. pyplot It looks like this is because matplotlib is not installed on my pc. Images can be in a variety of formats including jpeg images. The Tk interface is located in a binary module named _tkinter. problems accessing Tkinter module. No module named 'Tkinter'. 2-cp35-cp35m-win_amd64. 3, Python 3. Python version: Python 3. 6 and python 3. ImportError: No module named 'matplotlib' 怎么弄啊 我应该是安装matplotlid了的 怎么还说我没有. Problem using matplotlib with TkAgg backend in tkinter application. I have an issue getting TurtleWorld to work for my book "ThinkPython" for version 3. -Edité par M0nG33k 24 avril 2014 à 22:49:49. savefig('sinWave. And yet cx_freeze refuses to let the build complete and run. I was trying to install it by using pip3 but no luck. Traceback (most recent call last): File "/home/pi/tkinterpy1. 6 directorio que contiene todos los archivos de la biblioteca y, de hecho, se había perdido el tkinter. com-libAtoms-matscipy. I love maps, electronics, traveling and photography. 1 all went seamlessly. Now I can make the import mentioned above. 5, 使用import tkinter, 返回错误提示: “ import _tkinter # If this fails your Python may not be configured for Tk ModuleNotFoundError: No module named ‘_tkinter’ ”. The cause of this is usually that you are using a different version of. The 2to3 tool will automatically adapt imports when converting your sources to Python 3. 解决方案 在centos系统下,导入matplotlib时,出现ImportError: No module named '_tkinter'的错误,首先 yum list installed | ImportError: No module named MySQLdb解决办法. It looks like the TkAgg backend can have issues in many cases, so in the next iteration of the IDE preview we're going to enforce usage of the Agg backend. Install NumPy, SciPy, Matplotlib with Python 3 on Windows Posted on February 25, 2017 by Paul. ImportError: No module named 'tkinter' I know that in python 2. pyplot as plt Python 3. pyplot as plt. tkinter — Tcl/Tk の Python インタフェース — Python 3. [Tutor] Tkinter: no module named messagebox [Tutor] messagebox positioning [Tutor] No module named player_data [Tutor] How to use a module when only import package [Tutor] ImportError: No module named wdmmgext. ModuleNotFoundError: No module named 'PyQt4' What do you see if you open the Anaconda prompt and run "conda install matplotlib"? If that doesn't fix it, would you. centos6.5 导入matplotlib报错 No module named &#39;_tkinter 1. wintypes 怎么解决?. There are many ways to get Matplotlib, head over to Matplotlib. 10更新 本文主要对博主多年的vim使用经验做下总结,主要介绍博主工作中最常用到的一些VIM使用技. (Tk itself is not part of Python; it is maintained at ActiveState. 然后输入python进入shell: import thinter #不报错表示安装成功!. No module named yum错误的解决办法. This definitely means that you are trying to access a variable or method in the numpy module that doesn't exist. 様々な検索をしましたが同じエラーが起きているサイトを見つけても. 解决方案 在centos系统下,导入matplotlib时,出现ImportError: No module named '_tkinter'的错误,首先 yum list installed | ImportError: No module named MySQLdb解决办法. 起きたこと 色々アップデートしたら macOS Mojave + pyenv + python3. pyplot as plt ImportError: No module named matplotlib. 根据Python介绍发现 在Python2 和Python3 中该包名称是不一样的,在 python2中叫Tkinter; 在python3中叫tkinter. A bit counterintuitive, but you can use a label to show an image. 4 で matplotlib を使おうとすると ModuleNotFoundError: No module named '_tkinter' って怒られた.もちろんpython -m tkinterでも同じエラーが.…. Ошибка ""module" has no attribute "pack"" Здравствуйте! Пишу приложение на python 3. when I run this code: from matplotlib import pyplot I get the following error: ImportError: No module named 'tkinter' I know. In python 2. As I hinted at earlier in this post, the missing figure issue is related to the matplotlib backend that does all the heavy lifting behind the scenes to prepare the figure. Also this module is not. 6 directorio que contiene todos los archivos de la biblioteca y, de hecho, se había perdido el tkinter. Plotting Live Updating Data in Matplotlib and our Tkinter GUI Let's apply our knowledge now to graph live Bitcoin prices from the BTC-e API. In my next program i wanted an open dialogue which needed the "from tkFileDialog import *" but i get a module not. 0, are available on SourceForge. Tkinter VS tkinter. 0, and matplotlib 1. In this series, we're going to be covering most aspects to the Matplotlib data visualization module. 奇怪我通过ipython notebook,import matplotlib. I have installed Python3 and Python3-Tk I have followed the steps here, however I don't know how to edit the paths and such like it says to do. ImportError: No module named 'Tkinter' [closed] Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. ModuleNotFoundError: No module named 'PyQt4' J'ai essayé d'installer le module PyQt4, mais cela ne change rien. Perhaps there's a good reason for that. It has therefore been removed from Python 3 completely. And so, in this tutorial, I'll show you the steps to place matplotlib charts on a tkinter GUI. I hope someone can help me out since I have been trying to solve this problem for a few days now. _tkinter dio la ubicación de tkinter biblioteca para python3. so archivo objeto. In python 2. The cause of this is usually that you are using a different version of. In your figure-generating script, just call the matplotlib. Check the FAQ and the API docs. 引言:在Python3下运行Matplotlib之时,碰到了”No module named _tkinter“的问题,花费数小时进行研究解决,这里讲整个过程记录下来,并尝试分析过程中的解决思路利弊得失,以资后效,这里重点提示需要关注错误信息的分析,这个是第一现场。. Here, we show how simple it is to create a very basic window in just 8 lines. Swampy source for Python 3: swampy-2. I'm running Python 3. This thread is locked. version of python is 3. 4 shell import tkinter works, but import tk does not. tkinter is a windowing library. 2 его принял? EDIT: Я забыл упомянуть, но import tkinter действительно работает для установки по умолчанию (Python-3. In python 2 in kubuntu, I can import it directly. Hi All, I am trying to push python app to bluemix, but it is failing. 9) numba (0. 21 13:49:27 字数 556 阅读 11016 写在前面的话:刚刚检索发现简书上pyinstaller打包文章很多,所以,在此文章就不介绍pyinstaller打包的细节了,重点在解决上述问题,见谅!. when I run this code: from matplotlib import pyplot I get the following error: ImportError: No module named 'tkinter' I know. 3, Python 3. when I run this code: from matplotlib import pyplot I get the following error: ImportError: No module named 'tkinter' I know. The tkinter. 7 as python27* packages that install alongside the system python and do not replace it. pickletools: Contains extensive comments about the pickle protocols and pickle-machine opcodes, as well as some useful functions. tkinter — Tcl/Tk の Python インタフェース — Python 3. backend_agg import FigureCanvasAgg def draw_figure (canvas, figure, loc = (0, 0)): """ Draw a matplotlib figure onto a Tk canvas loc: location of. py files will not make it a package. load [Tutor] Trying to import matplotlib : ImportError: No module named dateutil. sudo make install. Matplotlib was originally written by John D. 2 to run this. cuando ejecuto este código: from matplotlib import pyplot. GPIO are installed on the Pi. I use Linux Mint. linspace(0, 99, 100) y = x * 10 plt. ImportError: No module named Tkinter externals. the python3. 1 (64bit) > python --version # Python 3. CentOS6 に software collections にて python3. The key to embedding a Matplotlib graph into a Tkinter GUI is to work with Matplotlib's backend, which is why we import the following: language:python from matplotlib. ModuleNotFoundError: No module named 'matplotlib. 6で簡単なTkinterのサンプルを走らせてみたが ModuleNotFoundError: No module named ‘Tkinter’ となってimport文から先に進めなかった pyenvの設定なのかanacondaのインストールに問題があるのか以下の記事やan…. x, the tkinter package is named Tkinter, and related packages have their own names. The Tk interface is located in a binary module named _tkinter. docker run --rm -it ubuntu:18. pyplot Does python look for matplotlib in different locations? The environment is: Mac OS X 10. tix (Tk Interface Extension) module provides an additional rich set of widgets. The question is why your installation of matplotlib is not using the right import name, if that is the case. tkinter モジュールがない, とのことらしい. In python 2 in kubuntu, I can import it directly. We get a window. The 2to3 tool will automatically adapt imports when converting your sources to Python 3. (both IDLE and python3 shell) ImportError: No module named tkinter for python 2 and tkinter is for python 3. import ttk In python 3 it is. open(filename). python ImportError: No module named matplotlib. python ImportError: No module named matplotlib sudo pip install matplotlib or sudo apt-get install python-matplotlib https://matplotlib. 很烦,怎么都解决不了。最后找到这篇解决方案(因为python版本一致2. How did you install python3? I ask because I see yours is installed in /usr/local/lib and if installed with apt, it installs to /usr/lib. 完美解决ImportError: No module named tkinter的问题以及Tkinter 在py2和py3中的使用差别 python3: import tkinter. I'll try to fix this with a py2app recipe. pipes (Unix) A Python interface to Unix shell pipelines. The IUS Community repo packages python 2. 如果有用,请采纳哟. Larz60+ wrote Oct-21-2018, 06:32 PM: Please post all code, output and errors (it it's entirety) between their respective tags. Then I tried opening the Terminal and run 'pip install python-tk', but I got this error:. It contains a hierarchy of exceptions, but all of them are also built-ins, so you never need to import anything from the exception module. Try setting the matplotlib backend to 'Agg' (or some other non-interactive backend) immediately after you import matplotlib:. If it fails with "No module named Tkinter", your Python configuration need to be changed to include the directory that contains Tkinter. [Tkinter-discuss] No module named tkMessageBox in python3. And so, in this tutorial, I’ll show you the steps to place matplotlib charts on a tkinter GUI. 在Python3下运行Matplotlib之时,提示No module named 'tkinter'这个问题,下面记录下解决过程,并尝试分析过程中的解决思路利弊得失,以资后效,这里重点提示需要关注错误信息的分析,这个是第一现场。. Other no module named errors & fixes. git-81489b4-) netCDF4 (1. pyplot as plt ImportError: No module named matplotlib. Matplotlib along with NumPy can be considered as the open source equivalent of MATLAB. It is well suited when you want to measure the changes over a period of time. BEN ZID ELGUEBSI Wael created an issue 2015-03-11. 7 numpy, scipy, matplotlib is installed with:. sudo apt-get install python-tk を行えば改善されたと記載されています。 python3-tkも試してみたのですが_tkinterのmoduleがないといわれます. It provides a number of type clasess, but not an implementation. 什么是tkinter, tcl ,tk. Me sale el siguiente error: ImportError: No module named 'tkinter' Sé que en python 2. It's a total bummer that matplotlib initializes the backend early, and fails hard. The most convenient way to get matplotlib is to use a package management tool as described in the installation instructions. Tk is generally a builtin module that comes with python, but (assuming you're on linux or similar) some distributions break it up into separate modules - you may need to install the relevant package with your OS's package manager. Tkinter is the standard GUI library for Python. It's a total bummer that matplotlib initializes the backend early, and fails hard. 0, are available on SourceForge. ImportError: No module named 'util' Tag: python , python-3. 7 CentOS 7 matplotlib 1. In python 2. tkinter — Tcl/Tk の Python インタフェース — Python 3. 奇怪我通过ipython notebook,import matplotlib. GPIO are installed on the Pi. Tkinter is by no means not the only GUI package, alternative GUI packages such as PyQT and wxPython are commonly used. x中,它被称为Tkinter,但这并不是问题所在--我刚刚安装了一个全新的python 3. import matplotlib. Below is a list of modules and versions installed in the default. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button. And actually not only for matplotlib, numpy does't work as well. Such a file is called a module; definitions from a module can be imported into other modules or into the main module (the collection of variables that you have access to in a script executed at the top level and in calculator mode). plot(x, y) 実行にはmatplotlibが必要なので、pipでインストールしておきます。. But, I want to use my Ubuntu desktop to develop Python GUI apps. 7 when you want to use the latest version. And yet cx_freeze refuses to let the build complete and run. Pythonで「ImportError: No module named …」が出た時の3つの対処法 このエラーは、インポートしている. pyplot as plt xvals = np. import tkinter. A bar graph uses bars to compare data among different categories. centos中Python2. This definitely means that you are trying to access a variable or method in the numpy module that doesn't exist. Tk is generally a builtin module that comes with python, but (assuming you're on linux or similar) some distributions break it up into separate modules - you may need to install the relevant package with your OS's package manager. moves import tkinter as Tk 7 from matplotlib. 如果有用,请采纳哟. 然后输入python进入shell: import thinter #不报错表示安装成功!. 4, it's an absolute import, so it just looks in your sys. 5 and deleted python3. The comments in the matplotlibrc file list all backends supported by matplotlib. python the import matplotlib failing with No module named_tkinter on heroku pip installed matplotlib, and it's successfully running on local. Matplotlib was originally written by John D. Tkinter is largely unchanged between python 2 and python 3, with the major difference being that the tkinter package and modules were renamed. All, it seems that installation of Python 3. I've installed the necessary dependencies, to my knowledge (note, for both Python 2 and Python 3): sudo apt-get install python-numpy python-scipy python-matplotlib sudo apt-get install python3-numpy python3-scipy python3-matplotlib sudo apt-get install python-tk python3-tk sudo apt-get install libqt4gui libqt4core python-qt4 python3-qt4. Tkinter image. I use anaconda in OS, when using Jupyter notebook, I always get ImportError: No module named 'matplotlib'. ModuleNotFoundError: No module named '_tkinter' 該当のソースコード(matplotlib. Updated 17 February 2019. pyplot as plt ModuleNotFoundError: No module named '_tkinter' Tkinterをインストールすることで、問題解決です。 $ sudo apt install python-tk tk-dev 参考サイト matplotlibが描画されない(DISTRICT 37さん) Tkinter のインストール(Python 入門さん). But, I want to use my Ubuntu desktop to develop Python GUI apps. pyplot as plt No module named Tkinter. Education is favorable to liberty. 6安装numpy 这两天准备学习一下Python,搭建环境遇到了两个问题,在这里记录一下,避免忘记,也可以给大家参考。 背景:在eclipse平台上集成Python插件,实现使用eclipse编写Python代码,Python3. The backend specified in this file is only the default; you can still change it at runtime by adding the following two lines, before any other matplotlib import: import matplotlib matplotlib. The issue here relates to the matplotlib backend that's being selected by default. pyplot as plt没有问题,可以正常plot。但是终端ipython import matplotlib. import matplotlib as mpl import numpy as np import sys if sys. I'm using python 3. [Tkinter-discuss] No module named tkMessageBox in python3. It provides a number of type clasess, but not an implementation. 5 64 bit but after installation, when I import gi module, python give no module named erro. Since there is no canonical Windows package manager, the methods for building FreeType, zlib, and libpng from source code are documented as a build script at matplotlib-winbuild. Python 导入matplotlib报错 - ImportError: No module 摘要 今天在安装导致matplotlib包的时候报错如下,提示如下报错 环境 Tkinter VS tkinter 根据Python介绍发现 在Python2 和Python3 中该包名称是不一样的,在 python2中叫Tkinter; 在python3中叫tkinter. Updated 17 February 2019. In Windows 10 Bash Subsystem the Tk and Tcl are already included, so I thought Ubuntu already had it. Additionally, you shouldn't try to assign a widget and pack it on the same line - the variable will only contain None that way. The implementation you need depends on your Python version. 3 $ python3 -c "import matplotlib. pickle: Convert Python objects to streams of bytes and back. 很烦,怎么都解决不了。最后找到这篇解决方案(因为python版本一致2. import Tkinter # No module named 'Tkinter' import tkColorChooser # No module named 'tkColorChooser' import tkFileDialog # No module named 'tkFileDialog'. Instead of implementing those in Tkinter GUI on your own. Yes indeed, the matplotlib module in Anaconda 4. Traceback (most recent call last): File "PNUpdate. No module named 'Tkinter'. Here is what says when I do "import Tkinter" == Traceback (most recent call last): File "", line 1, in ? ImportError: No module named Tkinter == Any ideas how to fix this problem? (Gentoo distribution) Thanks. [email protected]:~ $ picap-setup Traceback (most recent call last): File "", line 1, in ImportError: No module named RPi. There are many ways to get Matplotlib, head over to Matplotlib. org to download.