无法使用virtualenv创建虚拟环境

时间:2019-07-14 10:44:35

标签: python python-3.x virtualenv virtual-environment

我试图使用virtualenv创建虚拟环境,但是陷入了以下循环。

C:\Users\Aman\Desktop>virtualenv myproj
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
Running virtualenv with interpreter f:\python\python37\python.exe
...
...
...

最终,我不得不按Ctrl + c来中断该进程,因为它正在进行不间断。

我尝试使用pipenv,但它也使用virtualenv创建隔离的环境,因此它没有用。 请注意,当我使用Windows 10时,以上内容将显示在cmd中,并且在

中安装了python
  

f:\ python \ python37 \ python.exe

0 个答案:

没有答案