First thing’s first, don’t install things using sudo with pip!! Poor form, and as of mavericks, nigh impossible. You shouldn’t be overriding the system files anyway. Instead, if you want to develop, run a virtual environment. It’s easy to get started.

  1. mkdir my_virtual_environment
  2. Pip install virtualenv
  3. virtualenv my_virtual_environment
  4. source venv/bin/activate
  5. Pip install python (and so on and so forth)

In a new app project, if you’re going to use any frameworks dependent on node/npm, make sure you have packages.json included in your project directory!

You can create this file by doing npm init.
All the packages.json file really requires is a name and version — however, you might see an error when you try to use npm from the command line afterward: repo not found. If that’s the case, add the following to package.json:
“repository”: {
“private”: true
},

Boom!