#Install tqdm ubuntu python 3.6 download#
Switch to the /tmp directory and use curl to download the installer using your command terminal: cd /tmp curl –O
It worked for me.īy clicking “Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.Note the URL and use it to download the correct version.
#Install tqdm ubuntu python 3.6 install#
I did this tried to install tkinter for Python3.6 by running the command. No matching distribution found for tkinter Even after trying to install via pipĬould not find a version that satisfies the requirement tkinter (from versions: ) I was having the same error: tkinter module not found. Os.environ = r'C:UsersasusAppDataLocalProgramsPythonPython36-32tcltk8.6' Os.environ = r'C:UsersasusAppDataLocalProgramsPythonPython36-32tcltcl8.6' Type "help", "copyright", "credits" or "license" for more information. 324106 files and directories currently installed.) Selecting previously unselected package python3.6-tk:amd64. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 8 not upgraded.Īfter this operation, 165 kB of additional disk space will be used. Obviously, I still can not use tkinter for Python 3.6. Python3-tk is already the newest version (3.5.1-1).Ġ upgraded, 0 newly installed, 0 to remove and 8 not upgraded. I tried to install tkinter as the message above asks: ImportError: No module named '_tkinter', please install the python3-tk package Raise ImportError(str(msg) + ', please install the python3-tk package') When I tried to run a module using tkinter, I got this error message:įile "/usr/lib/python3.6/tkinter/_init_.py", line 37, in ĭuring handling of the above exception, another exception occurred:įrom tkinter import Canvas, Label, Tk, StringVar, Button, LEFTįile "/usr/lib/python3.6/tkinter/_init_.py", line 39, in Sudo add-apt-repository ppa:deadsnakes/ppa On Ubuntu 16.04 LTS, I have Python 3.5.2 and Python 2.7.12 but I would like to experiment Python3.6 (for various reasons like this one, for example). I faced a similar problem to yours, I am giving the details of it and how I solved it. This worked for me, while a lot of other answers (in other threads) didn’t. Note : I do have tcl/tk installed, which I have confirmed using tclsh and wish. The new and more appropriate question is how do I build, so(shared object) file that python builds during installation via setup.py that uses gcc, that somehow may involve distutils. After messing around with python3.6’s source code, and then comparing python3.6 with python3.2, I found out that tkinter calls _tkinter which isn’t a python file, it’s an. The problem isn’t telling python where tcl/tk is.
Is there some other way where I can tell python3.6 where Tcl/Tk is located? It takes 1hr approx to install python3.6 from scratch. I would like to get tkinter/tkagg working as it seems all the modules/ package are already installed.Īfter googling some more, I found I need to build python3.6 again, but this time with Tcl/Tk options while running configure. I cd’d into the python3.6 directory which has all library files and indeed it was missing the tkinter.so object file. tkinter._tkinter gave the location of tkinter library for python3.2 I tried doing the same in python3.2 and there were no errors. ModuleNotFoundError: No module named '_tkinter' Even though help('modules') returned a list of modules which included tkinter. The latest version of Python in the repositories is 3.2, so I need source installs or through pip3.6.Īfter starting python3.6 I tried to import tkinter, which gave the following error.
Since there are 2 versions of Python 3, anything installed from the repository doesn’t work for Python 3.6. | Python | 2.7, 3.2 and source installed 3.6 |