rest-framework-tutorial icon indicating copy to clipboard operation
rest-framework-tutorial copied to clipboard

Need to update requirements.txt

Open SiddharthPant opened this issue 5 years ago • 2 comments

I am running this on Ubuntu 19.10 so your mileage may vary. There are two issues with the requirements file:

  1. pip install -r requirements.txt fails because psycopg2 now requires to have pyscopg2-binary in its name.
  2. restore.sh fails because the SQLite driver has some bug for which Django made a workaround in version 2.1.5. So the version of Django should at least be above that version.

For people searching for workaround just do pip install -U django==2.1.5 psycopg2-binary and also update the requirements.txt file accordingly.

SiddharthPant avatar Jan 19 '20 12:01 SiddharthPant

Hi @SiddharthPant. Fancy making a PR?

carltongibson avatar Jan 21 '20 19:01 carltongibson

Ok. Will do.

SiddharthPant avatar Jan 21 '20 20:01 SiddharthPant