Python Hangs While Executing Pip And Virtualenv And Brings No Results
I tried to set up a virtual environment for my project by executing virtualenv myenv. The folder seemed to be generated, but the command hung, and I couldn't execute another comman
Solution 1:
A simple solution to this (which does work) would be to use Powershell
as an Administrator, instead of cmd
.
Conversely, use cmd
as an administrator, though I would recommend using the much-more powerful Powershell
for any and all purposes!
Why this works:
A lot of commands need super-user rights (think root
/ sudo
in linux) in order to be properly executed.
Since there is no such thing as as sudo
in Windows yet, you can implement it via admin privileges.
Cheers!
Post a Comment for "Python Hangs While Executing Pip And Virtualenv And Brings No Results"