cat requirements.txt
requests==2.22.0
pandas==0.24.2
I was getting a whole lot of errors. This was permission problem.
When I did sudo pip3 install -r requirements.txt
there were no errors and Successfully installed pandas-0.24.2. I am on Ubuntu 20.04.1.
When on virtual environment, all packages get downloaded to /home/ubuntu/.virtualenvs/my-project/lib/python3.8/site-packages
, then why the need for sudo ?