Python Mac OS X

Things that I had to do for python on Mac OS X. There are amazing resources on the web

http://docs.python-guide.org/en/latest/starting/install/osx/
http://hackercodex.com/guide/python-development-environment-on-mac-osx/

After a long gap got back to it. VirtualEnv makes a lot of sense and virtualenvwrapper makes it even better.  Tried to install virtualenvwrapper, due to various things done on the system something was messedup

http://virtualenvwrapper.readthedocs.org/en/latest/install.html
Error in loading virtualenvwrapper – source virtualenvwrapper.sh gave an error
tried brew install –python. this gave the warning/error that python was found but not linked. After fixing this virtualenvwrapper loaded fine

Fixing python not linked warning/error
brew link –overwrite python
http://stackoverflow.com/questions/13354207/how-to-symlink-python-in-homebrew

Django

run django_admin.py directly not with python; if with python need full path to djano_admin.py

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s