Skip to content

Instantly share code, notes, and snippets.

@olgabot
Last active December 28, 2015 10:09
Show Gist options
  • Save olgabot/7484653 to your computer and use it in GitHub Desktop.
Save olgabot/7484653 to your computer and use it in GitHub Desktop.
Trouble installing matplotlib
Olgas-MacBook-Pro-1378:~ olga$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: 4b0ddec26aaddaa4fe68b41168e4b231c4b66e1f
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
Clang: 5.0 build 500
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/olga/.rvm/rubies/ruby-1.9.3-p448/bin/ruby
Olgas-MacBook-Pro-1378:~ olga$ brew doctor
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
matplotlib
Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours, this is a long time in brewland!
To update Homebrew, run `brew update`.
Olgas-MacBook-Pro-1378:~ olga$ brew update
Updated Homebrew from 4b0ddec2 to 00ec827b.
==> New Formulae
cattle libfaketime rats transmission-remote-gtk
flac123 libmongoclient saltstack zsh-history-substring-search
libbson pssh tegh
==> Updated Formulae
autoconf homebrew/science/minc homebrew/versions/ruby186 parallel star
bash homebrew/science/moab influxdb passenger strongswan
cdparanoia homebrew/science/netcdf intercal pcb swi-prolog
dart homebrew/science/quast jenkins percona-server talloc
elixir homebrew/versions/clojure14 json_spirit pkg-config vala
gdal homebrew/versions/erlang-r14 libextractor pure vim
giter8 homebrew/versions/erlang-r15 libinfinity pypy voltdb
gobby homebrew/versions/gstreamer010 libkml recutils wrk
grass homebrew/versions/jenkins-lts libmicrohttpd rpm xml-tooling-c
gts homebrew/versions/plowshare3 macvim samba
harfbuzz homebrew/versions/postgis20 nlopt smake
homebrew/dupes/tidy homebrew/versions/ruby182 nu sphinx
Olgas-MacBook-Pro-1378:~ olga$ pip install matplotlib
Downloading/unpacking matplotlib
You are installing an externally hosted file. Future versions of pip will default to disallowing externally hosted files.
You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
Downloading matplotlib-1.3.1.tar.gz (42.2MB): 42.2MB downloaded
Running setup.py egg_info for package matplotlib
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.3.1]
python: yes [2.7.5 (default, Nov 11 2013, 17:07:55) [GCC
4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)]]
platform: yes [darwin]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.8.0]
dateutil: yes [using dateutil version 2.2]
tornado: yes [using tornado version 3.1.1]
pyparsing: yes [using pyparsing version 2.0.1]
pycxx: yes [Couldn't import. Using local copy.]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 16.2.10]
png: yes [version 1.5.14]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [using nose version 1.3.0]
OPTIONAL BACKEND EXTENSIONS
macosx: yes [installing, darwin]
qt4agg: no [PyQt4 not found]
gtk3agg: no [Requires pygobject to be installed.]
Fatal Python error: PyThreadState_Get: no current thread
Olgas-MacBook-Pro-1378:~ olga$ which -a python
/usr/local/bin/python
/usr/bin/python
/usr/local/bin/python
Olgas-MacBook-Pro-1378:~ olga$ ll /usr/local/bin/python
lrwxr-xr-x 1 olga admin 33B Nov 11 17:08 /usr/local/bin/python -> ../Cellar/python/2.7.5/bin/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment