I can not register my Django project on Heroku

后端 未结 2 362
长发绾君心
长发绾君心 2021-01-24 07:19

I updated the python version from 3.6.4 to 3.6.5 today. This is because, in the process of distributing to Heroku, it recommends version 3.6.5. Therefore, the following power sh

2条回答
  •  灰色年华
    2021-01-24 08:06

    Heroku believes that your runtime.txt contains some extra characters:

    ÿþpython-3.6.5
    

    This is probably byte-order mark for a file encoded as UTF-16 in little-endian order. Make sure you're using a sane encoding for that file (and others). UTF-8 is a good choice in virtually all situations.

提交回复
热议问题