I'm wondering how I can create a suitable requirements.txt for my Python 3 application?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
There's a module called pipreqs which is designed for creating the requirements file.
Add the location to the folder where the python files reside. Pipreqs will create a requirements.txt file in the folder.
if you aren't in virtualenv and don't feel like putting all your installed packages in the requirements file like the accepted answer. just use pigar
type following line in your command prompt