On 1/16/16 1:43 PM, j.hor...@gmail.com wrote:
I was wondering how I might install Tkinter with my Anaconda. I am using python v. 3.5.1., python build 0. With the presumably default 149 installed packages.
AFAICT it is part of the standard Anaconda distribution (2.4.1, from a few weeks ago) based on Python 3.5. I don’t know much about Tk, however I believe that in Python 2.7 you needed to do:
import Tkinter
whereas in Python
3.5 the package was renamed to the more pythonic tkinter
so you would instead do:
import tkinter
In both cases the
the conda package name is simply tk
(all lower case). You can check if you have it installed by
doing:
$ conda list | grep -i -e tk
and if it isn’t installed then the following should rectify things:
$ conda install tk
HTH
Ian
--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+unsubscribe@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.
Which OS are you using?
On Thu, Feb 15, 2018 at 2:05 PM, <vladnus...@gmail.com> wrote:
I am execute the simple script to rump up the tk window. But nothing happens.There are no import errors, but window is not generated too :(#!/tools/common/pkgs/anaconda/current/bin/python3.5import sysimport osimport shutilfrom tkinter import *window = Tk()label = Label(window, text="This is our label.")label.pack()
суббота, 16 января 2016 г., 20:43:52 UTC+2 пользователь j.hor...@gmail.com написал:I was wondering how I might install Tkinter with my Anaconda. I am using python v. 3.5.1., python build 0. With the presumably default 149 installed packages.
--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.
Which OS are you using?
On Thu, Feb 15, 2018 at 2:05 PM, <vladnus...@gmail.com> wrote:
I am execute the simple script to rump up the tk window. But nothing happens.There are no import errors, but window is not generated too :(#!/tools/common/pkgs/anaconda/current/bin/python3.5import sysimport osimport shutilfrom tkinter import *window = Tk()label = Label(window, text="This is our label.")label.pack()
суббота, 16 января 2016 г., 20:43:52 UTC+2 пользователь j.hor...@gmail.com написал:I was wondering how I might install Tkinter with my Anaconda. I am using python v. 3.5.1., python build 0. With the presumably default 149 installed packages.
--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.