what should be the requirements.txt for :
1.easyocr
2.json
3.requests
4.PIL
Your requirements.txt
should look something like this:
easyocr==1.4
requests==2.26
json
is part of the standard library, PIL
= pillow
on PyPI and is a dependency of easyocr
, so it will be installed when installing easyocr
.
You can make a requirements.txt
file by running this command inside your virtualenv:
pip freeze > requirements.txt
If you don’t use virtual enviroments, I suggest you start using them
There’s some nice tools available like pipenv and poetry to help you with dependency management.