[英]how to activate python3 in Google-cloud-data
I am using Python3 for my projects. 我在我的项目中使用Python3。 However, the Google Cloud Datalab runs with Python2.7.x by default.
但是,默认情况下,Google Cloud Datalab与Python2.7.x一起运行。 How do I change to Python3?
如何更改为Python3?
Datalab only supports Python 2 for now unfortunately. 不幸的是,Datalab目前仅支持Python 2。
One thing you can try is install the Pydatalab lib , which is a Jupyter extension that adds support for a number of Google Cloud Platform services to your Jupyter notebooks. 您可以尝试做的一件事是安装Pydatalab库 ,它是Jupyter扩展,可以为Jupyter笔记本添加对许多Google Cloud Platform服务的支持。 That library supports Python 3 .
该库支持Python 3 。
看来他们现在支持Python 3: https : //github.com/googledatalab/datalab/issues/902 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.