I was trying to deploy my django project on heroku from heroku cli. So I created an app and then I ran git push heroku master
from the project directory. Then I
I also had this problem, but by adding
python-decouple==3.1
into the requirements.txt
file, I was able to get past it!
I think you haven't written packages name from requirements.txt
to the Pipfile
bellow [packages]
section. You should add packages in this format-
package_name = "version"
I had the same problem, I'm new to django. The steps above didn't work after updating requirements.txt
until I switched env
.
source env/Scripts/activate
pip install -r requirements.txt
py manage.py runserver
I also had this problem and solved by removing all package (removed 2x python-decouple from locally and decouple) from my env and locally. Then, I installed python-decouple (3.3) again.