-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyenv virtualenv not work for matplotlib #140
Comments
Matplotlib expects a Framework install on OS X in order to manipulate GUI elements. You can install Framework versions with a command like this:
The fact that it worked in your first example is because you used |
Read error messages. |
I had to do something a bit different in order to get my pyenv virtualenv to work.
And then of course activate my virtualenv like normal.. and then everything worked great. |
a simple solution (and seem the most elegant for me) is putting |
For reference: After installing Tk to the computer it is necessary to rerun |
I installed a framework enable python 2.7.8. And matlablib is working fine under this python 2.7.8.
After that, I created a virtualenv, matplotlib is not working inside the virtualenv.
A simple test:
I am new in using pyenv and pyenv virtualenv. In previous experience with virtualenv, I have not encounter such a problem.
I have found differences in directory structure between 2.7.8 and nipype_env.
I have found a fix in this link. But I am still wondering whether there is a more elegant way support by pyenv virtualenv to fix my problem.
The text was updated successfully, but these errors were encountered: