FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/README.osx at master · eglassman/matplotlib · GitHub
eglassman
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
README.osx
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (20 loc) · 1.02 KB
Breadcrumbs
matplotlib
/
README.osx
Copy path
File metadata and controls
31 lines (20 loc) · 1.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.
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::
brew install libpng freetype pkg-config
If you are using MacPorts, execute the following instead:
Example usage::
port install libpng freetype pkgconfig
To install matplotlib from source, execute:
Example usage::
python setup.py install
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.
Back
|
FazBrowse Home
|
New Git URL