Turns out I ran into this error because I run the following command (do not copy-paste this if not intended):
pip install -t requirements.txt
Maybe you can just simply switch -t to -r and you'll be good