Last active
December 21, 2015 15:08
-
-
Save blorenz/6324044 to your computer and use it in GitHub Desktop.
Common messups and solutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### MacOSX Postgres won't start | |
rm /usr/local/var/postgres/postmaster.pid | |
Users are getting "ImportError: No module named setuptools" when using pip to upgrade a package since distribute-0.7.3 was released. | |
e.g. when running a command like this: pip install --upgrade pyramid | |
Solution | |
To prevent the problem in new environments (that aren't broken yet), | |
First run pip install -U setuptools, | |
Then run the command to upgrade your package (e.g. pip install --upgrade pyramid) | |
To fix the problem once it's occurred, you'll need to manually install the new setuptools, then rerun the upgrade that failed. | |
Download ez_setup.py (https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py) | |
Run python ez_setup.py | |
No module named setuptools.command | |
pip install distribute --upgrade | |
## lion psql | |
curl http://nextmarvel.net/blog/downloads/fixBrewLionPostgres.sh | sh | |
## freetype not installed | |
brew install freetype | |
brew link freetype --force | |
sudo ln -s /usr/local/include/freetype2/freetype/ /usr/include/freetype |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment