travi / dotfiles

My disaster recovery plan.
21 stars 6 forks source link

install pip #86

Closed travi closed 9 years ago

travi commented 9 years ago
Pip and setuptools have been installed. To update them
  pip install --upgrade pip setuptools

You can install Python packages with
  pip install <package>

They will install into the site-package directory
  /usr/local/lib/python2.7/site-packages

See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md

.app bundles were installed.
Run `brew linkapps python` to symlink these to /Applications.
travi commented 9 years ago
[10:00:20] 127 $ brew postinstall python
==> /usr/local/Cellar/python/2.7.9/bin/python -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/2.7.9/bin --install
  File "/usr/local/Cellar/python/2.7.9/libexec/setuptools/pkg_resources/__init__.py", line 2592, in requires
    dm = self._dep_map
  File "/usr/local/Cellar/python/2.7.9/libexec/setuptools/pkg_resources/__init__.py", line 2648, in __getattr__
    raise AttributeError(attr)
AttributeError: _dep_map

READ THIS: https://git.io/brew-troubleshooting

These open issues may also help:
boost-python: don't link a Python framework (https://github.com/Homebrew/homebrew/pull/39571)
boost-python: libboost_python.dylib has an explicit framework linkage (https://github.com/Homebrew/homebrew/issues/38738)
homebrew, universal python and wxpython (https://github.com/Homebrew/homebrew/issues/34470)
Add PHP, Python and Ruby support to GEOS (https://github.com/Homebrew/homebrew/pull/39525)
`brew install llvm --with-python --with-lldb --with-clang` fails (https://github.com/Homebrew/homebrew/issues/39621)
Strange python-related doctor output (https://github.com/Homebrew/homebrew/issues/33910)
problem with Python 2.7.9 and OpenSSL 1.0.2 (https://github.com/Homebrew/homebrew/issues/38226)
Subversion fails on 10.10 --with-python (https://github.com/Homebrew/homebrew/issues/34119)
gdal --with-python always installs numpy into prefix (https://github.com/Homebrew/homebrew/issues/36744)
Ansible formula modifies PYTHONPATH and causes Python scripts within playbooks to fail (https://github.com/Homebrew/homebrew/issues/35647)
bokken failed to build on OSX 10.10 due to Python 2.5 dependency (https://github.com/Homebrew/homebrew/issues/32016)
travi commented 9 years ago

issue was related to the PYTHONPATH. having it set to only $(brew --prefix)/lib/python2.7/site-packages worked, but the something conflicted from https://github.com/travi/dotfiles/blob/master/osx/exports.sh#L9