Linux centOS配置Django环境
2022-10-08 本文已影响0人
GS_88
参考资料:https://docs.djangoproject.com/en/4.1/topics/install/#installing-official-release
本文链接:https://www.yuque.com/cgsgood/dshx0b/gvtrih
1、先配置python310的环境:https://www.yuque.com/cgsgood/dshx0b/uxgh4a
2、clone Django
git clone https://github.com/django/django.git
3、进入到django的目录,然后安装
python3.10 setup.py install
4、安装完后,打开python3.10
>>> import django
>>> print(django.get_version())
4.2