我正在使用Python 2在我的Elastic-Beanstalk中使用Node.js
如何更改为python3
我在cli和
中安装了pythonsudo替代品--config python
将python更改为3,但系统崩溃了。
如何实现这一目标。
我需要在Elastic-Beanstalk中使用python3设置一个nodejs环境。现在使用python2。
答案 0 :(得分:0)
我建议建立一个新环境,然后再交换环境网址
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.CNAMESwap.html
这要求您的数据库独立于当前环境。