2017-08-03 105 views
0

所以我安装Python 3.6并设置它的环境路径如下: C:\Users\danny\AppData\Local\Programs\Python\Python36-32\python virtualenv设置路径后不工作

当我尝试创建虚拟环境(例如virtualenv Venv)时,它无法正常工作。我得到错误:

" The term 'virtualenv' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

路径设置正确。我不知道什么是错的。

+0

有你安装的virtualenv?尝试安装一次virtualenv,然后尝试 – Exprator

+0

你是如何设置路径的? –

+0

忘了安装它。它的工作,谢谢。 –

回答

1

检查它是否是工作或没有

virtualenv -p python3 envname