【发布时间】:2020-11-10 23:54:01
【问题描述】:
我试图在任何地方的 python 上安装这个 Django 版本,但我得到了这个错误:
Looking in links: /usr/share/pip-wheels
Collecting Django==1.9.6
Using cached
https://files.pythonhosted.org/packages/cb/97/081df31f2a3850988b92ad4464e95f9e4b257aa5a34e120bca89c260de96/Django-1.9.6-py2.py3-none-any.whl
ERROR: django-mptt 0.10.0 has requirement Django>=1.11, but you'll have django 1.9.6 which is incompatible.
ERROR: django-contrib-comments 1.9.1 has requirement Django>=1.11, but you'll have django 1.9.6 which is incompatible.
ERROR: django-classy-tags 0.9.0 has requirement Django>=1.11, but you'll have django 1.9.6 which is incompatible.
ERROR: django-sekizai 1.0.0 has requirement django>=1.11, but you'll have django 1.9.6 which is incompatible.
Installing collected packages: Django
Found existing installation: Django 2.2.7
Uninstalling Django-2.2.7:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/bin/__pycache__/django-admin.cpython-35.pyc'
Consider using the `--user` option or check the permissions.
我还想将所有已安装的 python 3.5 库迁移到 python 上的 python3.5 文件夹 lib 上的任何地方,以便我们的网站可以使用 .如果是这种情况,我不需要重新安装这个库,那么我认为我们不需要在任何地方使用 python 来迁移 20 多个 Django 网站。
【问题讨论】:
标签: pythonanywhere