1、操作环境
Windows10、python3.8
2、安装django2.0
pip install django==2.0
x
1
pip install django==2.0
3、安装相应的xadmin2
pip install xadmin2
x
1
pip install xadmin2
C:\Users\mayafeng\Downloads>pip install xadmin-django2.zip
Processing c:\users\mayafeng\downloads\xadmin-django2.zip
Requirement already satisfied: setuptools in c:\users\mayafeng\appdata\local\programs\python\python38\lib\site-packages (from xadmin==2.0.1) (41.2.0)
Requirement already satisfied: django>=2 in c:\users\mayafeng\appdata\local\programs\python\python38\lib\site-packages (from xadmin==2.0.1) (2.2)
Collecting django-crispy-forms>=1.6.0
Using cached https://files.pythonhosted.org/packages/6e/27/9d6eef25ee96060b20a8df3cc6f6e5f98492900fada0b736767daf6f8f1c/django_crispy_forms-1.8.1-py2.py3-none-any.whl
Collecting django-reversion>=2.0.0
Using cached https://files.pythonhosted.org/packages/e7/fe/b47df6c9540cd90c664b3ccd3a46f4db6ec15a675684f1ca3fbfd39d2d22/django_reversion-3.0.5-py2.py3-none-any.whl
Collecting django-formtools>=1.0
Using cached https://files.pythonhosted.org/packages/16/2b/f2dc15cf7fb830bf22ec87739786ca7633902474edd7cdb9c52a56434ed2/django_formtools-2.2-py2.py3-none-any.whl
Collecting django-import-export>=0.5.1
Using cached https://files.pythonhosted.org/packages/7b/dd/b782bedc11665297f89ee106ff53c8c2acbc5b73526f441a247f5fb77f45/django_import_export-2.0-py3-none-any.whl
Collecting httplib2==0.9.2
Using cached https://files.pythonhosted.org/packages/ff/a9/5751cdf17a70ea89f6dde23ceb1705bfb638fd8cee00f845308bf8d26397/httplib2-0.9.2.tar.gz
原文地址:https://www.cnblogs.com/ccip-ma/p/8370814184a4eba1e50e165ba7bef872.html