Reputation: 724
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?
Upvotes: 4
Views: 2089
Reputation: 87
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.
Upvotes: 1