<?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: Import paths using repos and installed libraries get confused in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/import-paths-using-repos-and-installed-libraries-get-confused/m-p/31458#M22902</link>
    <description>&lt;P&gt;It looks for the configs locally i suppose if you can share requirements .txt i can elaborate&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 07:28:50 GMT</pubDate>
    <dc:creator>Avinash_94</dc:creator>
    <dc:date>2023-04-14T07:28:50Z</dc:date>
    <item>
      <title>Import paths using repos and installed libraries get confused</title>
      <link>https://community.databricks.com/t5/data-engineering/import-paths-using-repos-and-installed-libraries-get-confused/m-p/31457#M22901</link>
      <description>&lt;P&gt;We use Azure Devops and Azure Databricks and have custom Python libraries. I placed my notebooks in the same repo and the structure is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mylib/
mylib/__init__.pyt
mylib/code.py
notebooks/
notebooks/job_notebook.py
setup.py&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Azure pipelines builds the python code into a wheel that we install in the job cluster. We also setup the job run job_notebook.py. Inside this notebook is `import mylib`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that mylib that is used is Azure Devops copy and not the wheel that was installed. Locally, when trying to run job_notebook it won't import mylib, but in Databricks it does. Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 21:53:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/import-paths-using-repos-and-installed-libraries-get-confused/m-p/31457#M22901</guid>
      <dc:creator>wb</dc:creator>
      <dc:date>2022-09-17T21:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import paths using repos and installed libraries get confused</title>
      <link>https://community.databricks.com/t5/data-engineering/import-paths-using-repos-and-installed-libraries-get-confused/m-p/31458#M22902</link>
      <description>&lt;P&gt;It looks for the configs locally i suppose if you can share requirements .txt i can elaborate&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 07:28:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/import-paths-using-repos-and-installed-libraries-get-confused/m-p/31458#M22902</guid>
      <dc:creator>Avinash_94</dc:creator>
      <dc:date>2023-04-14T07:28:50Z</dc:date>
    </item>
  </channel>
</rss>

