Skip to content

Instantly share code, notes, and snippets.

@a34729t
Created November 15, 2012 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a34729t/4076575 to your computer and use it in GitHub Desktop.
Save a34729t/4076575 to your computer and use it in GitHub Desktop.
Installing python modules on osx!

Installing Python Modules on OSX (Or why Python can't be like node.js?)

REMEMBER to install to the correct version version of python.

Pull module from Github + easy_install

git clone [module github repo] cd [module folder] sudo ARCHFLAGS='-arch i386 -arch x86_64' easy_install ./

This works for:

  • paramiko
  • pycrypto
  • python-jinja2

##PyYAML

sudo python -m easy_install pyyaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment