I am running a django project with virtualenv, which worked completely fine until today. I went to run source my-env/bin/activate and it seemed to activate (he gave me the usual command prompt), but when I tried python manage.py runserver , he said that he could not find django. I ran a python script and tried to import django, and of course he said there is no module named django. So I uninstalled this virtualenv and created a new one, and did pip install -r requirements.txt . Then I noticed that the pip hung forever, and by type ^C it would give a long track, which I presented below. As soon as this happened, I tried removing virtualenv again and starting just now, when I typed virtualenv new-env , it would hang on "Installing setuptools, pip, wheel ...", and also gave a long trace when ^C logged in. I looked through the online forums and tried everything to fix it, and nothing works. If anyone has any ideas on how to fix this, I would really appreciate it.
Installing setuptools, pip, wheel...^CTraceback (most recent call last): File "/usr/local/bin/virtualenv", line 11, in <module> done. sys.exit(main()) File "/usr/local/lib/python2.7/site-packages/virtualenv.py", line 669, in main Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/virtualenv.py", line 2327, in <module> raise SystemExit(popen.wait()) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1384, in wait main() File "/usr/local/lib/python2.7/site-packages/virtualenv.py", line 711, in main symlink=options.symlink) File "/usr/local/lib/python2.7/site-packages/virtualenv.py", line 944, in create_environment download=download, File "/usr/local/lib/python2.7/site-packages/virtualenv.py", line 900, in install_wheel call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) File "/usr/local/lib/python2.7/site-packages/virtualenv.py", line 767, in call_subprocess line = stdout.readline() KeyboardInterrupt pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call return func(*args) KeyboardInterrupt