python3 django project is derived from the project dependencies

 

1. Run the mac terminal in the root directory of the project,

pip3 freeze> requirements.txt # requirements.txt just a name can easily play, usually the default is requirements.txt

You will get a requirements.txt file in the root directory of the project

 

Record all dependencies.

 

Guess you like

Origin www.cnblogs.com/chongdongxiaoyu/p/11387940.html