Generate requirements.txt file for python3
Generate requirements.txt file for python3
Go into the folder your py3 projects are in and run the following
- Code:
pip3 install pipreqs
pip freeze > requirements.txt
Then on other system you can install using the file like this
- Code:
pip3 install -r requirements.txt
Last edited by jamied_uk on 4th May 2023, 15:04; edited 1 time in total
Re: Generate requirements.txt file for python3
Get a file for used mods instead of all installed
Ignore Backup folders like this
- Code:
pipreqs . --force --encoding utf8
Ignore Backup folders like this
- Code:
pipreqs . --force --encoding utf8 --ignore Backup
Re: Generate requirements.txt file for python3
Also you can do this if needed!
- Code:
pip install -r requirements.txt
Similar topics
» OpenAI GUI Python3 Script
» Python3 Auto-Clickers For Windows
» Python3 VENV Setup For Windows & Linux
» How to fix samba in linux file missing config file error
» Get md5 hash of a file to veryfie file integrity
» Python3 Auto-Clickers For Windows
» Python3 VENV Setup For Windows & Linux
» How to fix samba in linux file missing config file error
» Get md5 hash of a file to veryfie file integrity
Permissions in this forum:
You cannot reply to topics in this forum