pip install django-ckeditor -i https://pypi.doubanio.com/simple/

复制代码
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)

相关推荐
躺不平的小刘2 天前
从YOLOv5到RKNN:零冲突转换YOLOv5模型至RK3588 NPU全指南
linux·python·嵌入式硬件·yolo·conda·pyqt·pip
义达2 天前
Django环境下使用wsgi启动MCP服务
后端·django·mcp
PythonicCC2 天前
Django中的MVC和MVT模式
数据库·django·mvc
PythonicCC3 天前
Django的生命周期
python·django·sqlite
天庭鸡腿哥3 天前
比Windows系统自带更强大,好用!
windows·django·pygame
Q_Q5110082853 天前
python的校园研招网系统
开发语言·spring boot·python·django·flask·node.js·php
言之。3 天前
Django REST框架核心:GenericAPIView详解
数据库·python·django
MZ_ZXD0013 天前
springboot汽车租赁服务管理系统-计算机毕业设计源码58196
java·c++·spring boot·python·django·flask·php
每天都在想吃啥3 天前
day31 SQLITE
数据库·sqlite