Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
I was working on a pull request (in version 1.5.1+1707.g506df7b.dirty) on OSX (10.9.5) with Python 2.7 in a Conda environment. Using the current virtualenv FAQ (http://matplotlib.org/devdocs/faq/virtualenv_faq.html, specifically the frameworkpython script solution), I was not able to load matplotlib.
In the discussion of the pull request,@efiring suggested a procedure (#6358 (comment)) that did work after adding one final step. Inside the Conda enviroment you want to develop matplotlib in, the procedure is as follows (mostly copied from@efiring):
- Use conda to make a test environment with the desired python version, and use conda to install matplotlib in it.
- Use conda to uninstall matplotlib.
- In your github clone of matplotlib, make a feature branch, and make the desired changes to it.
- In the root of that clone directory run
pip install .
. - Install the Framework version of python with
conda install python.app
. - Open a new terminal and activate the conda environment (or run
hash -r
(bash) /rehash
(zsh) in the old terminal to make sure your shell finds the conda version ofpythonw
instead of the OSX version). - Use
pythonw
instead ofpython
from now on.