【问题标题】:How to specify a python version on databricks?如何在数据块上指定 python 版本?
【发布时间】:2021-11-23 07:32:15
【问题描述】:

我使用GCP 运行Databricks 并使用pip 安装guidedlda。似乎guidedlda 至少使用了 python 3.7 版。

如何在为 GCP 配置的数据块中提及 python 版本?我可以在AzureAWS 上看到一个选项,但在GCP 上看不到。这是截图

【问题讨论】:

    标签: python google-cloud-platform pip databricks gcp-databricks


    【解决方案1】:

    Python 包含在运行时中。 下表包括运行时和 python 版本:

    Runtime Python
    10.1 3.8.10
    10.0 3.8.10
    9.1 LTS 3.8.8
    9.0 3.8.10
    8.4 3.8.8
    8.3 3.8.8
    7.3 LTS 3.7.5

    例如,您可以在此处检查 9.0 是否为 Python 3.8.1 https://docs.databricks.com/release-notes/runtime/9.0.html我包括python版本的示例截图。

    这里是所有版本的列表https://docs.databricks.com/release-notes/runtime/releases.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-25
      • 1970-01-01
      • 2022-11-04
      • 2022-01-17
      • 1970-01-01
      • 2021-06-03
      • 2017-06-26
      • 1970-01-01
      相关资源
      最近更新 更多