Tkinter in a virtualenv on Mac?

Viewed 1316

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?

TKinter in a Virtualenv

1 Answers

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.

Related