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)

相关推荐
VidDown25 分钟前
上线三个月后的第一次事故:一个 Django 服务的日志、监控与故障复盘
数据库·python·django·wpf·音视频·视频编解码
小马不起床2 小时前
Django 后端实战指南_5:实现 JWT 登录
python·django·sqlite
CarIise4 小时前
Maven依赖传递与聚合工程
python·r语言·django
ycydynq4 小时前
djiango引入django-ckeditor-5-0.2.20 modelform表单
django·django-ckeditor
hhb_61821 小时前
Flask+SQLite实现用户管理接口
python·sqlite·flask
东莞市云毅网络有限公司1 天前
客服记录里的问句怎么变成知识库条目:意图聚类的 Python 实现
python·sqlite·自动化运维·geo·数据监测
我的xiaodoujiao1 天前
Django 基础知识详细图文教程 15-Django 内置Admin系统
后端·python·django
我的xiaodoujiao1 天前
Django 基础知识详细图文教程 16-Django 内置Admin认证系统
后端·python·django
Wx-bishekaifayuan2 天前
springboot桂味美食分享系统40540-计算机课程设计、毕业设计
spring boot·后端·python·django·课程设计·express·旅游
梅雅达编程笔记2 天前
Day 06 · 第一个 API 接口:从 Model 到 JSON
python·django·drf·后端开发·restful api·序列化器