【问题标题】:name_file/Scripts/activate 'name_file' is not recognized as an internal or external command, operable program or batch file windows 10name_file/Scripts/activate 'name_file' 未被识别为内部或外部命令、可运行程序或批处理文件 windows 10
【发布时间】:2019-02-16 04:53:46
【问题描述】:

我通过 cmd 在我的电脑中上传了 virtualenv

当我通过此代码激活它时“name_file/Scripts/activate”不起作用

并向我显示这条消息:

" 'name_file' 不是内部或外部命令、可运行程序或批处理文件"

【问题讨论】:

  • 嗨!欢迎来到 StackOverflow!我建议您更好地描述您所做的事情,以便其他人能够重现它,或者至少猜测出了什么问题。
  • name_file 是实际的文件名还是占位符?

标签: django windows python-3.x virtualenv


【解决方案1】:

cmd 需要反斜杠而不是正斜杠:

name_file\Scripts\activate

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-08-14
    • 2020-02-02
    • 1970-01-01
    • 2020-04-02
    • 1970-01-01
    • 2015-12-30
    • 2018-07-08
    相关资源
    最近更新 更多