<?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 Python notebook: Use public libraries in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Python-notebook-Use-public-libraries/m-p/4311978#M5459</link>
    <description>&lt;P&gt;I am testing the Python Notebook (preview)&amp;nbsp;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/python-notebook-public-preview?ft=All" target="_blank"&gt;Announcing Python Notebook in Preview | Microsoft Fabric Blog | Microsoft Fabric&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and want to use the public library&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;snowflake-connector-python&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The only way i have found to use the library&amp;nbsp;is "%pip install snowflake-connector-python", but it installs the&amp;nbsp;library on every execution. Is there a better way without instaling on every execution?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Dec 2024 16:54:08 GMT</pubDate>
    <dc:creator>cw88</dc:creator>
    <dc:date>2024-12-03T16:54:08Z</dc:date>
    <item>
      <title>Python notebook: Use public libraries</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Python-notebook-Use-public-libraries/m-p/4311978#M5459</link>
      <description>&lt;P&gt;I am testing the Python Notebook (preview)&amp;nbsp;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/python-notebook-public-preview?ft=All" target="_blank"&gt;Announcing Python Notebook in Preview | Microsoft Fabric Blog | Microsoft Fabric&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and want to use the public library&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;snowflake-connector-python&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The only way i have found to use the library&amp;nbsp;is "%pip install snowflake-connector-python", but it installs the&amp;nbsp;library on every execution. Is there a better way without instaling on every execution?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Python-notebook-Use-public-libraries/m-p/4311978#M5459</guid>
      <dc:creator>cw88</dc:creator>
      <dc:date>2024-12-03T16:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python notebook: Use public libraries</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Python-notebook-Use-public-libraries/m-p/4312304#M5464</link>
      <description>&lt;P&gt;Yes, we could try doing it this way instead...&amp;nbsp; you can create a new environment.&lt;BR /&gt;To do this, go to your workspace and, in the "Create" section, look for the option to create a new environment.&lt;BR /&gt;There, you can install public libraries, along with many other configurations, so you don’t have to work with your default setup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YesidMenesesJar_1-1733267645718.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1209585iFF0E8FA0FD4DC10B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YesidMenesesJar_1-1733267645718.png" alt="YesidMenesesJar_1-1733267645718.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Later, when you are in your notebook, that environment will appear as an option for you to select and execute within, instead of using the default one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YesidMenesesJar_0-1733267620951.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1209584iDA1DFA46F9D5FF48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YesidMenesesJar_0-1733267620951.png" alt="YesidMenesesJar_0-1733267620951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find more information here:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/create-and-use-environment#create-an-environment" target="_new" rel="noopener"&gt;&lt;SPAN&gt;Create&lt;/SPAN&gt;&lt;SPAN&gt; and&lt;/SPAN&gt;&lt;SPAN&gt; Use&lt;/SPAN&gt;&lt;SPAN&gt; an&lt;/SPAN&gt;&lt;SPAN&gt; Environment&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 23:14:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Python-notebook-Use-public-libraries/m-p/4312304#M5464</guid>
      <dc:creator>YesidMenesesJar</dc:creator>
      <dc:date>2024-12-03T23:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Python notebook: Use public libraries</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Python-notebook-Use-public-libraries/m-p/4312549#M5468</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/577765"&gt;@cw88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might be a current limitation on python notebook&amp;nbsp;&lt;SPAN&gt;by public preview. When switching the notebook to Python notebook, it doesn't provide an option for choosing a custom environment which allows installing additional libraries in advance. So you can only&amp;nbsp;use&amp;nbsp;&lt;EM&gt;%pip&lt;/EM&gt;&amp;nbsp;and&amp;nbsp;&lt;EM&gt;%conda&lt;/EM&gt;&amp;nbsp;commands for inline installations as of now.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vjingzhanmsft_0-1733281283540.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1209688i6F59057FAF078412/image-size/large?v=v2&amp;amp;px=999" role="button" title="vjingzhanmsft_0-1733281283540.png" alt="vjingzhanmsft_0-1733281283540.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vjingzhanmsft_1-1733282061857.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1209697iF9ECDA6AD73E15B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="vjingzhanmsft_1-1733282061857.png" alt="vjingzhanmsft_1-1733282061857.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/using-python-experience-on-notebook#public-preview-known-limitations" target="_blank" rel="noopener"&gt;Use Python experience on Notebook - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As this is just in preview stage, it is likely to be improved in the future. Please provide your&amp;nbsp;&lt;SPAN&gt;valuable&lt;/SPAN&gt; feedback and suggestions at&amp;nbsp;&lt;A href="https://ideas.fabric.microsoft.com/" target="_blank" rel="noopener"&gt;https://ideas.fabric.microsoft.com/&lt;/A&gt;&amp;nbsp;to let the product team hear it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Jing&lt;BR /&gt;&lt;EM&gt;If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos! &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 03:18:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Python-notebook-Use-public-libraries/m-p/4312549#M5468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-04T03:18:40Z</dc:date>
    </item>
  </channel>
</rss>

