用 ubuntu 安裝 django-mdeditor==0.1.13
時報錯:
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-2XpM94/django-mdeditor/
有人說是setuptools
的版本太低,於是我鏡像源下更新了一下: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade setuptools
完全沒用
解決方法:pip3 install django-mdeditor==0.1.13
問題解決,之前安裝 Django 也是這種報錯,pip
換成 pip3
就完全解決了