adamcircle
adamcircle

Reputation: 724

Tkinter in a virtualenv on Mac?

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

Upvotes: 4

Views: 2089

Answers (1)

Mark Asbach
Mark Asbach

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

Related Questions