简体   繁体   English

如何在 databricks 上指定 python 版本?

[英]How to specify a python version on databricks?

I am using GCP to run Databricks and using pip to install guidedlda .我正在使用GCP运行Databricks并使用pip安装guidedlda It seems like guidedlda uses atleast python version 3.7.似乎guidedlda至少使用了python 3.7版。

How can I mention the python version in databricks configured for GCP?.如何在为 GCP 配置的数据块中提及 python 版本? I can see an option on Azure and AWS but not on GCP .我可以在AzureAWS上看到一个选项,但在GCP上看不到。 Here is the screenshot这是屏幕截图

在此处输入图像描述

Python is included in Runtime. Python 包含在运行时中。 Below table is including runtimes and python version:下表包括运行时和 python 版本:

Runtime运行 Python Python
10.1 10.1 3.8.10 3.8.10
10.0 10.0 3.8.10 3.8.10
9.1 LTS 9.1 长期支持 3.8.8 3.8.8
9.0 9.0 3.8.10 3.8.10
8.4 8.4 3.8.8 3.8.8
8.3 8.3 3.8.8 3.8.8
7.3 LTS 7.3 长期交易 3.7.5 3.7.5

For example you can check that for 9.0 is Python 3.8.1 here https://docs.databricks.com/release-notes/runtime/9.0.html I am including example screenshot with python version. For example you can check that for 9.0 is Python 3.8.1 here https://docs.databricks.com/release-notes/runtime/9.0.html I am including example screenshot with python version.

Here is the list of all releaseshttps://docs.databricks.com/release-notes/runtime/releases.html这是所有版本的列表https://docs.databricks.com/release-notes/runtime/releases.html

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM