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.
mkdir my_virtual_environmentPip install virtualenvvirtualenv my_virtual_environmentsource venv/bin/activatePip 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!
