This has been asked already but no answer has been supplied for computers running Mac OSX. How can I enable tkinter in a python 2.7 virtualenv on mac?
Asked
Active
Viewed 1,579 times
4
-
Have you followed the setup guide here --> [Virtualenv](http://sourabhbajaj.com/mac-setup/Python/virtualenv.html) – Mike - SMT Jun 30 '17 at 21:24
-
3Does this help: http://blog.openpolis.it/2014/06/15/using-tkinter-inside-a-virtualenv-hack/4287 ? – phd Jun 30 '17 at 22:00
1 Answers
1
I just ran into the same problem - and found a simple solution. Just create your environment using
virtualenv --system-site-packages YourNewEnv
to make an existing tkinter install (for example from brew or macports) available to your virtual environment.

Mark Asbach
- 61
- 1
- 9