Giter Site home page Giter Site logo

mandrain_web's Introduction

安装类库

本机使用python版本:

Python 3.10.4

安装Django 4.2.3

确保您已经安装了Python 3.8或更高版本(Django 4.x系列要求Python 3.8+)。如果您不确定当前的Python版本,可以通过以下命令检查:

python --version

确认Python版本符合要求后,使用pip(Python的包管理器)来安装Django 4.2.3:

pip install Django==4.2.3

这条命令会从Python官方包索引(PyPI)下载并安装指定版本的Django。如果过程中出现任何权限问题,您可能需要使用pip install --user(针对用户级安装)或以管理员身份运行命令(如在Windows上使用cmd时以管理员身份打开命令提示符,或在Unix-like系统中使用sudo前缀)。

安装TensorFlow CPU版本 2.16.1

确保您已经安装了兼容的Python版本和必要的系统依赖。对于TensorFlow CPU版本,主要需要确保已安装NumPy等依赖库。接下来,使用pip安装TensorFlow 2.16.1的CPU版本:

pip install tensorflow-cpu==2.16.1

这条命令将下载并安装TensorFlow 2.16.1的CPU优化版本,适用于没有GPU的系统或不需要GPU加速的情况。如果您的环境中已经安装了其他版本的TensorFlow,这条命令会将其替换为指定版本。

运行指令

py manage.py runserver [需要自行指定端口号]

mandrain_web's People

Contributors

kte66 avatar keepljx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.