How can I direct pip to find
dustin@dustin:~$ python setuptools-3.5.1/setup.py egg_info
writing requirements to setuptools.egg-info/requires.txt
writing top-level names to setuptools.egg-info/top_level.txt
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/matplotlib
Storing debug log for failure in /home/dustin/.pip/pip.log
matplotlib has many external dependencies. Some of these are required. You can see the list of required ones in the log file produced by the attempted
pip install. In your case, it is this:
REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.8.1] dateutil: yes [dateutil was not found. It is required for date axis support. pip/easy_install may attempt to install it after matplotlib.] tornado: yes [using tornado version 3.2.1] pyparsing: yes [pyparsing was not found. It is required for mathtext support. pip/easy_install may attempt to install it after matplotlib.] pycxx: yes [Couldn't import. Using local copy.] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: no [pkg-config information for 'freetype2' could not be found.] png: yes [pkg-config information for 'libpng' could not be found. Using unknown version.]
============================================================================ * The following required packages can not be built: * freetype Complete output from command python setup.py egg_info: ============================================================================
Here, you can see that
freetype couldn't be found. You need to install it on your system.