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
OSX install #3238
OSX install #3238
Changes from 12 commits
7b9fef5
7108099
a79cfc6
d847a85
7e2fdd2
156ff59
a68e33e
9bd9c6f
1b3243c
a52cd33
40861f7
8755041
4efb43a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
Building mpl on OSX has proven to be a nightmare because of all the | ||
Building mpl on OSX is sometimes a nightmare because of all the | ||
different types of zlib, png and freetype that may be on your system. | ||
The recommended and supported way to build is to use a third-party | ||
package manager to install the required dependencies, and then | ||
install matplotlib from source using the setup.py script. Two widely | ||
used package managers are homebrew and MacPorts. The following | ||
example illustrates how to install libpng and freetype using | ||
homebrew. | ||
|
||
For developers who want to build matplotlib from source, the recommended and | ||
supported way to build is to use a third-party package manager to install the | ||
required dependencies, and then install matplotlib from source using the | ||
setup.py script. Two widely used package managers are homebrew, and | ||
MacPorts. The following example illustrates how to install libpng and freetype | ||
using brew: | ||
|
||
Example usage:: | ||
|
||
|
@@ -22,3 +23,9 @@ To install matplotlib from source, execute: | |
Example usage:: | ||
|
||
python setup.py install | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So -- this is totally cool, but I think we maybe just discovered this doesn't work (at least it didn't for Michael Nagy and I). building matplotlib from source using conda as dependencies, it doesn't pick up freetype from conda since conda doesn't include pkg-config. Anyway, if it's working for you @katyhuff, it would be good to know so we can get to the bottom of the cause. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahhhh... I have two sets of each library installed. Glad you caught this. Matplotlib is picking up my macports libpng rather than the conda one! Changing instructions back accordingly. |
||
|
||
|
||
Note that your environment is somewhat important. Some conda users have | ||
found that, to run the tests, their PYTHONPATH must include | ||
/path/to/anaconda/.../site-packages and their DYLD_FALLBACK_LIBRARY_PATH | ||
must include /path/to/anaconda/lib. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link is dead...