《Django+React前后端分离项目开发实战:爱计划》 02 安装Python和Django

02 Installing Python and Django

《Django+React前后端分离项目开发实战:爱计划》 02 安装Python和Django

Because Django is a Python web framework, we first have to install Python.

由于 Django 是一个 Python 网络框架,我们首先要安装 Python。

Installing Python

Let’s check if we have Python installed and what version it is.

让我们检查一下 Python 是否已安装,版本是什么。

If you are using a Mac, open your terminal. If you are using Windows, open your Command Prompt. For convenience, I will address both the Terminal and Command Prompt as “Terminal” throughout the book.

如果使用 Mac,请打开终端。如果使用的是 Windows,则打开命令提示符。为方便起见,我在全书中将终端和命令提示符都称为 “终端”。

We will need to check if we have at least Python 3.8 to use Django 4. To do so, go to your Terminal and run:

我们需要检查是否至少有 Python 3.8 才能使用 Django 4:

python3 

最近更新

  1. TCP协议是安全的吗?

    2024-02-07 19:26:03       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-02-07 19:26:03       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-02-07 19:26:03       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-02-07 19:26:03       20 阅读

热门阅读

  1. C# 旋描仪或扫描仪

    2024-02-07 19:26:03       29 阅读
  2. C Primer Plus(第六版)15.9 编程练习 第7题

    2024-02-07 19:26:03       29 阅读
  3. Python_百度贴吧评论情感分析

    2024-02-07 19:26:03       36 阅读
  4. c# Http Get Post Put Delete 请求帮助类

    2024-02-07 19:26:03       29 阅读