might want to see if either of these commands might help you, pip install –upgrade setuptools pip install ez_setup also, setting up a swap file if you do not already have one, is a good practice.