python - Cannot install Django on Windows because there is an invalid character in a filename
问题描述
I have been trying to pip install django, but I can’t do it because Windows doesn’t like the invalid filename. Do I have any options other than running a Linux virtual machine?
解决方案
确保您已安装 Git Bash ( https://git-scm.com/download/win ) 并确保在您的计算机上安装了 python 和 pip。
完成所有这些后,只需运行 Git Bash 并执行pip install django
. 如果它不起作用或者您同时安装了 python2 和 python3,请使用pip3 install django
推荐阅读
- php - Apache 通过 Virtualhost 区分域
- clips - CLIPS 中的 A* 搜索算法实现
- lan - iperf3 - 服务器和客户端交换时的不同 LAN 速度
- tinymce - 希望将字体大小添加到 Advanced TinyMCE
- p5.js - 如何使用 p5.js 使用导入的 gif 保存画布?
- javascript - RxJs consequent observables:如果发生错误则继续执行
- swift - 从集合中选择个人资料图像并将选择保存到 firebase
- python - 带有张量流对象检测的“Windows 致命异常:访问冲突”
- wordpress - Wordpress 联系表格 7 无法发送另一封电子邮件
- python - 如何在python中将这种格式'2020-01-01 00:00:00+00:00'的str转换为datetime?