The Python Oracle

installing modules in python - pip, distribute, nose, virtualenv

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Thinking It Over

--

Chapters
00:00 Installing Modules In Python - Pip, Distribute, Nose, Virtualenv
01:44 Answer 1 Score 1
02:11 Accepted Answer Score 4
02:26 Answer 3 Score 2
02:35 Thank you

--

Full question
https://stackoverflow.com/questions/2100...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #module #virtualenv #pip #distribute

#avk47



ACCEPTED ANSWER

Score 4


To solve your issue,

Just install (or upgrade) the setuptools:

sudo easy_install -U setuptools

Then you can run again: pip install virtualenv




ANSWER 2

Score 2


Try adding 'sudo' in your command as-

sudo pip install virtualenv

It worked for me.




ANSWER 3

Score 1


Have a look at Python Development Environment on Mac OS X Mavericks 10.9.

I followed these steps as well when trying to get Python 2.7 and Python 3.3 installed on OS X. It doesn't tell you how to install nose and distribute, but you should have a working environment and you can pick up from there.

I did have a problem using virtualenv and pip with Python 3, the question and solutions is available here.