Command “python setup.py egg_info” failed——完美解決

用 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 就完全解決了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章