今天重新安装了Python,把Python的安装位置改为 D:\Program Files\Python\Python34\

用pip 安装 Django 的时候出现一下错误

>pip install Django

Fatal error in launcher: Unable to create process using '""D:\Program Files\Python\Python34\python.exe"" "D:\Program Files\Python\Python34\Scripts\pip.exe" '

经过几番排查,发现只要路径中带有空格就会有以上错误.

相关文章: