我想在虛擬環境中使用Zappa(和AWS Lambda)。我已經安裝了扎帕,但是當我嘗試運行zappa init
我得到以下錯誤:如何將Python 3.6設置爲默認Zappa?
RuntimeError: This version of Python (3.5) is not supported!
Zappa (and AWS Lambda) support the following versions of Python: ['2.7', '3.6']
我已經安裝了Python 3.6,但是Python 3.5的推移,默認情況下,當我開始一個新的虛擬ENV。我該怎麼辦?
這是您當地的環境問題,而不是Zappa。當你做'python -V'時你會得到什麼? – dashmug
你需要使用其他的python二進制文件來創建你的virtualenv –