作者MyuMyu (水躍魚)
看板Python
標題[問題] 發佈至heroku時被告知版本不支援
時間Mon Oct 15 01:41:46 2018
不知道能不能在這邊問QAQ截圖在最後
我試著要把檔案發佈至heroku時
偵測python時,出現
Python app detected
remote: ! Heroku supports runtime versions python-3.7.0, python-3.6.6 and python-2.7.15.
remote: ! You are using python-3.5.2, which is unsupported.
看起來是說我python版本只有3.5.2
可是我輸入
$ python -V
卻是出現
Python 3.7.0
請問是出了什麼問題?先謝謝了
http://i.imgur.com/SV7tRlu.jpg
-----
Sent from JPTT on my Xiaomi MI 8.
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.139.148.30
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1539538908.A.11E.html
推 s8300355: 把runtime 直接改成3.7試試呢 10/15 03:52
推 jp956956: 是不是有安裝兩個python? 10/15 07:17
→ MyuMyu: 是runtime沒改到+沒重置,才一直鬼打牆,謝謝回覆 10/15 12:30