django - name_file/Scripts/activate 'name_file' 未被识别为内部或外部命令、可运行程序或批处理文件 windows 10
问题描述
我通过cmd在我的计算机中上传了virtualenv
当我通过此代码激活它时,“name_file/Scripts/activate”不起作用
并向我显示此消息:
" 'name_file' 不是内部或外部命令、可运行程序或批处理文件 "
解决方案
cmd
需要反斜杠而不是正斜杠:
name_file\Scripts\activate
推荐阅读
- docker - 在进行 CI 运行测试时,我应该使用生产 docker build 吗?
- node.js - 解决了。问答:MongoDB MongoNetworkError:无法连接到服务器。服务器是远程服务器
- javascript - 如何根据列值突出显示工作表中的重复行?
- r - 转换数据框并在 R 中汇总
- c# - Factory.StartNew 阻止了代码执行
- python - 使用字符串连接+eval() 来构建 SQLAlchemy 查询可以吗,还是有更好的选择?
- java - 如何从 backStack 中删除堆栈?
- c# - 触摸后按钮保持按下状态(突出显示)
- c++ - 为什么我的类的复制初始化不适用于使用字符串文字的 string_view?
- ios - No Such Module 'Alamofire','SwiftyJson','UiKiT'