pip install django-ckeditor -i https://pypi.doubanio.com/simple/
python
Looking in indexes: https://pypi.doubanio.com/simple/
Collecting django-ckeditor
Downloading https://mirrors.cloud.tencent.com/pypi/packages/69/b7/0b3f6ff07c0635152da129532ce0a305e7d3239a15e2a1fc710904d5e3b6/django_ckeditor-6.7.1-py3-none-any.whl (2.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 8.8 MB/s eta 0:00:00
Collecting Django>=3.2 (from django-ckeditor)
Downloading https://mirrors.cloud.tencent.com/pypi/packages/94/2c/6b6c7e493d5ea789416918658ebfa16be7a64c77610307497ed09a93c8c4/Django-4.2.16-py3-none-any.whl (8.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 1.5 MB/s eta 0:00:00
Collecting django-js-asset>=2.0 (from django-ckeditor)
Downloading https://mirrors.cloud.tencent.com/pypi/packages/dc/4d/5bb8c351f2515a616576a4218c736af081edf0dd4d1eead1c7e880f74c0e/django_js_asset-2.2.0-py3-none-any.whl (4.7 kB)
Requirement already satisfied: asgiref<4,>=3.6.0 in d:\program files\python38\lib\site-packages (from Django>=3.2->django-ckeditor) (3.6.0)
Requirement already satisfied: sqlparse>=0.3.1 in d:\program files\python38\lib\site-packages (from Django>=3.2->django-ckeditor) (0.4.2)
Requirement already satisfied: backports.zoneinfo in d:\program files\python38\lib\site-packages (from Django>=3.2->django-ckeditor) (0.2.1)
Requirement already satisfied: tzdata in d:\program files\python38\lib\site-packages (from Django>=3.2->django-ckeditor) (2022.6)
Installing collected packages: Django, django-js-asset, django-ckeditor
Attempting uninstall: Django
Found existing installation: Django 2.2.19
Uninstalling Django-2.2.19:
Successfully uninstalled Django-2.2.19
Successfully installed Django-4.2.16 django-ckeditor-6.7.1 django-js-asset-2.2.0
运行项目报错:
ImportError: cannot import name 'six' from 'django.utils' (D:\Program Files\Python38\lib\site-packages\django\utils\init.py)