ImportError: No module named 'decouple' while deploying on Heroku

前端 未结 4 435
悲&欢浪女
悲&欢浪女 2021-01-03 07:08

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

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-03 07:35

    I also had this problem, but by adding

    python-decouple==3.1

    into the requirements.txt file, I was able to get past it!

提交回复
热议问题