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)

相关推荐
程序设计实验室4 天前
分享一些2026年有意思的现代化Django生态组件
django
程序设计实验室5 天前
当人人都能用 AI 写代码时,我为什么选择重回 Django?
django·djangostarter
markfeng810 天前
Python+Django+H5+MySQL项目搭建
python·django
tryCbest11 天前
Windows环境下配置pip镜像源
windows·pip
QQ40220549611 天前
Python+django+vue3预制菜半成品配菜平台
开发语言·python·django
百锦再11 天前
Django实现接口token检测的实现方案
数据库·python·django·sqlite·flask·fastapi·pip
starlaky11 天前
Django入门笔记
笔记·django
QQ51100828511 天前
python+springboot+django/flask的校园资料分享系统
spring boot·python·django·flask·node.js·php
WeiXin_DZbishe11 天前
基于django在线音乐数据采集的设计与实现-计算机毕设 附源码 22647
javascript·spring boot·mysql·django·node.js·php·html5
B站计算机毕业设计超人11 天前
计算机毕业设计Django+Vue.js高考推荐系统 高考可视化 大数据毕业设计(源码+LW文档+PPT+详细讲解)
大数据·vue.js·hadoop·django·毕业设计·课程设计·推荐算法