【问题标题】:python virtualenv not working after setting path设置路径后python virtualenv不起作用
【发布时间】:2018-01-10 19:59:06
【问题描述】:

所以我安装了 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."

路径设置正确。不知道怎么回事。

【问题讨论】:

  • 你安装了virtualenv吗??尝试安装一次virtualenv,然后尝试
  • 路径是怎么设置的?
  • 忘记安装了。成功了,谢谢。

标签: python django powershell


【解决方案1】:

检查它是否正常工作

virtualenv -p python3 envname

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-02-21
    • 1970-01-01
    • 2013-05-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多