首页 > 解决方案 > name_file/Scripts/activate 'name_file' 未被识别为内部或外部命令、可运行程序或批处理文件 windows 10

问题描述

我通过cmd在我的计算机中上传了virtualenv

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

并向我显示此消息:

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

标签: djangowindowspython-3.xvirtualenv

解决方案


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

name_file\Scripts\activate

推荐阅读