Generate requirement.txt file

You can use the following code to generate a requirements.txt file:

pip install pipreqs
pipreqs /path/to/project

The benefits of using pipreqs from its GitHub.1

  1. https://stackoverflow.com/questions/31684375/automatically-create-file-requirements-txt 


Back to top

Copyright © 2019 - 2024 Johnny Li. All contents licensed under CC BY-NC-SA 4.0 本站所有内容基于 CC BY-NC-SA 4.0 协议发布,转载需要署名.
Please read the LICENSE file for specific language governing permissions and limitations under the License.

Page last modified: Feb 26 2024 at 11:07 PM.

Edit this page on GitHub