ubuntu environment
1. Update the system software source:
Not by updating the system software source, it may be impossible apt-get install
to install the software we need to use:
$ sudo apt-get update
$ sudo apt-get upgrade
2. Develop tools:
python:
After the installation can be done through python3
the command line to enter operation If you want python xxx.py
to run the .py
file, you can add another soft links:
$ sudo apt-get install python3.5 python3.5-dev
Mysql:
$ sudo apt-get install mysql-server mysql-client
pip :( I remember after this python installed automatically installed, do not know why the author here to install separately?)
Installation python
package management tools:
$ sudo apt-get install python-pip
3. Create a virtual environment
Installation virtualenv:
3. dependent libraries:
requirements.txt
Text contains third-party packages required for the project:
Referring to this document, written in great detail:
https://www.centos.bz/2018/05/centos-7-4-%E5%AE%89%E8%A3%85python3%E5%8F%8A%E8%99%9A%E6%8B%9F%E7%8E%AF%E5%A2%83/
Article Source:
https://www.showdoc.cc/page/46561890643919