设置路径后python virtualenv无法正常工作

时间:2017-08-03 09:37:43

标签: python django powershell

所以我安装了Python 3.6并将环境路径设置为: C:\Users\danny\AppData\Local\Programs\Python\Python36-32\

当我尝试创建虚拟环境(例如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."

路径设置正确。我不知道出了什么问题。

1 个答案:

答案 0 :(得分:1)

检查它是否有效

virtualenv -p python3 envname