程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python Django PyCharm install

編輯:Python

python Environmental construction

install

  • python
  • Django
  • pycharm editor

python

Download address :https://www.python.org/downloads/

Modify installation path , Check auto add to environment variable next・・・install

Django

Download address :https://www.djangoproject.com/download/

Extract the package to python Under the same root directory of the installation , And implement :python setup.py install

image.png
image.png

windows tar Decompression method

start-up windows power shell, Get into tar Location path ( Input cd py Press tab,enter)

perform :tar -zxvf Django-4.0.1.tar.gz

Decompress and enter Django route , perform :python setup.py install install Django

After installation ,...\Python39\Lib\site-packages Lower generation Django Catalog

Execute the command to check the installation results

import django

django.get_version()

image.png

PyCharm

Download address :https://www.jetbrains.com/pycharm/download/#section=windows

It can be modified after installation python interpreter (ctrl+alt+s)

If you reinstall python, You need to change the path of the interpreter , Click Set gear , Add a new interpreter

New document , Write a sentence print Execute it. ,OK

study hard , Day day up !


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved