【问题标题】:pip install django~=1.11.0 command = AttributeError: 'tuple' object has no attribute 'filename'pip install django~=1.11.0 command = AttributeError: 'tuple' object has no attribute 'filename'
【发布时间】:2018-03-12 02:12:12
【问题描述】:

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

pyhton -m pip install --upgrade pip

然后,当我运行这个命令时:

pip install django~=1.11.0

我有很多错误:

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

谁有快速解决方案?

【问题讨论】:

  • pip install django=1.11.0.
  • 我必须重新执行所有步骤吗?因为它也不适用于您的解决方案。
  • 您使用的是哪个操作系统?
  • Windows 7。仍然卡在同样的错误中。

标签: django windows windows-7 pip installation


【解决方案1】:

您应该能够执行以下操作:(注意 2 个等号)

pip install django==1.11

【讨论】:

    猜你喜欢
    • 2014-05-18
    • 1970-01-01
    • 2022-12-03
    • 1970-01-01
    • 2022-12-01
    • 2012-08-08
    • 1970-01-01
    • 1970-01-01
    • 2022-11-09
    相关资源
    最近更新 更多