Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
pip install django~=1.11.0命令=AttributeError:';元组';对象没有属性';文件名';_Django_Windows_Windows 7_Pip_Installation - Fatal编程技术网

pip install django~=1.11.0命令=AttributeError:';元组';对象没有属性';文件名';

pip install django~=1.11.0命令=AttributeError:';元组';对象没有属性';文件名';,django,windows,windows-7,pip,installation,Django,Windows,Windows 7,Pip,Installation,我正在尝试在pip升级后通过以下命令安装Django: pyhton -m pip install --upgrade pip 然后,当我运行此命令时: pip install django~=1.11.0 我犯了很多错误: AttributeError : 'tuple' object has no attribute 'filename' 任何有快速解决方案的人?你应该能够做到以下几点:(注意2个等号) pip install django=1.11.0。我需要重新执行所有步骤吗?因为

我正在尝试在pip升级后通过以下命令安装Django:

pyhton -m pip install --upgrade pip
然后,当我运行此命令时:

pip install django~=1.11.0
我犯了很多错误:

AttributeError : 'tuple' object has no attribute 'filename'

任何有快速解决方案的人?

你应该能够做到以下几点:(注意2个等号)


pip install django=1.11.0
。我需要重新执行所有步骤吗?因为它与您的解决方案不兼容。您使用的是哪种操作系统?Windows 7。仍然陷在同样的错误中。
pip install django==1.11