<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can't import st_constructors module after installing Apache Sedona in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-t-import-st-constructors-module-after-installing-apache/m-p/23811#M16512</link>
    <description>&lt;P&gt;Hi @Jonathan Gat​&amp;nbsp;, Can you try to uploading the executable PyPI file to DBFS and try to install it from there? You can refer: &lt;A href="https://docs.databricks.com/libraries/index.html" alt="https://docs.databricks.com/libraries/index.html" target="_blank"&gt;https://docs.databricks.com/libraries/index.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2022 05:26:55 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2022-11-04T05:26:55Z</dc:date>
    <item>
      <title>Can't import st_constructors module after installing Apache Sedona</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-import-st-constructors-module-after-installing-apache/m-p/23810#M16511</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I've recently installed Apache Sedona on my cluster, &lt;A href="https://sedona.apache.org/setup/databricks/" alt="https://sedona.apache.org/setup/databricks/" target="_blank"&gt;according to the detailed instructions here&lt;/A&gt;. My Databricks runtime version is 9.1 LTS (includes Apache Spark 3.1.2, Scala 2.12).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The installation included the apache-sedona library from PyPI, and the following Maven Coordinates:&lt;/P&gt;&lt;P&gt;org.apache.sedona:sedona-python-adapter-3.0_2.12:1.2.1-incubating&lt;/P&gt;&lt;P&gt;org.datasyslab:geotools-wrapper:1.1.0-25.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The installation was successful. Unfortunately, when I try to import the st_constructors &lt;A href="https://sedona.apache.org/tutorial/sql-python/" alt="https://sedona.apache.org/tutorial/sql-python/" target="_blank"&gt;as instructed here,&lt;/A&gt; I get the following error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;from sedona.sql import st_constructors as stc
&amp;nbsp;
# ImportError: cannot import name 'st_constructors' from 'sedona.sql' (/databricks/python/lib/python3.8/site-packages/sedona/sql/__init__.py)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What am I doing wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 23:14:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-import-st-constructors-module-after-installing-apache/m-p/23810#M16511</guid>
      <dc:creator>jgsp</dc:creator>
      <dc:date>2022-11-03T23:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't import st_constructors module after installing Apache Sedona</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-import-st-constructors-module-after-installing-apache/m-p/23812#M16513</link>
      <description>&lt;P&gt;Thank you @Debayan Mukherjee​&amp;nbsp;for the prompt reply. I've followed the instructions carefully, but now every time I try to run a cell in my notebook I get a "Cancelled" message. It clearly didn't work. Any advice?&lt;/P&gt;&lt;P&gt;Your help is much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 12:09:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-import-st-constructors-module-after-installing-apache/m-p/23812#M16513</guid>
      <dc:creator>jgsp</dc:creator>
      <dc:date>2022-11-04T12:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't import st_constructors module after installing Apache Sedona</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-import-st-constructors-module-after-installing-apache/m-p/23811#M16512</link>
      <description>&lt;P&gt;Hi @Jonathan Gat​&amp;nbsp;, Can you try to uploading the executable PyPI file to DBFS and try to install it from there? You can refer: &lt;A href="https://docs.databricks.com/libraries/index.html" alt="https://docs.databricks.com/libraries/index.html" target="_blank"&gt;https://docs.databricks.com/libraries/index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 05:26:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-import-st-constructors-module-after-installing-apache/m-p/23811#M16512</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-04T05:26:55Z</dc:date>
    </item>
  </channel>
</rss>

