Error while using pymongo[srv]

I try to use pymongo[srv] in my app and when I run locally it works.
But when I run it online it tells me to install it by using: python -m pip install "pymongo[srv]"
pymongo is inside my requirements.txt file of course.