<?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: We are getting AttributeError: module 'numpy.typing' has no attribute 'NDArray' with tidal jobs in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/we-are-getting-attributeerror-module-numpy-typing-has-no/m-p/108686#M2936</link>
    <description>&lt;P&gt;The file path of the above error is suggesting it is from the &lt;A href="https://github.com/python-pillow/Pillow/blob/main/src/PIL/_typing.py#L14" target="_self"&gt;Pillow library dependency&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt; "/databricks/python/lib/python3.8/site-packages/PIL/_typing.py"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pillow's &lt;EM&gt;_typing.py&lt;/EM&gt; checks for NumPy &amp;gt;=1.21 while 10.4 runtime has these versions installed by default:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;NumPy version: 1.20.1
Pillow version: 8.2.0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try to pin a compatible version of the package in your code &lt;EM&gt;numpy==&lt;SPAN class="hljs-number"&gt;1.21&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.0&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2025 01:14:31 GMT</pubDate>
    <dc:creator>Ismael-K</dc:creator>
    <dc:date>2025-02-04T01:14:31Z</dc:date>
    <item>
      <title>We are getting AttributeError: module 'numpy.typing' has no attribute 'NDArray' with tidal jobs</title>
      <link>https://community.databricks.com/t5/administration-architecture/we-are-getting-attributeerror-module-numpy-typing-has-no/m-p/89649#M1770</link>
      <description>&lt;P&gt;File "/databricks/python/lib/python3.8/site-packages/PIL/_typing.py", line 10, in &amp;lt;module&amp;gt;&lt;BR /&gt;NumpyArray = npt.NDArray[Any]&lt;BR /&gt;AttributeError: module 'numpy.typing' has no attribute 'NDArray'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using 10.4 runtime version , please suggest&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 15:00:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/we-are-getting-attributeerror-module-numpy-typing-has-no/m-p/89649#M1770</guid>
      <dc:creator>unalluri9999</dc:creator>
      <dc:date>2024-09-12T15:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting AttributeError: module 'numpy.typing' has no attribute 'NDArray' with tidal jobs</title>
      <link>https://community.databricks.com/t5/administration-architecture/we-are-getting-attributeerror-module-numpy-typing-has-no/m-p/108686#M2936</link>
      <description>&lt;P&gt;The file path of the above error is suggesting it is from the &lt;A href="https://github.com/python-pillow/Pillow/blob/main/src/PIL/_typing.py#L14" target="_self"&gt;Pillow library dependency&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt; "/databricks/python/lib/python3.8/site-packages/PIL/_typing.py"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pillow's &lt;EM&gt;_typing.py&lt;/EM&gt; checks for NumPy &amp;gt;=1.21 while 10.4 runtime has these versions installed by default:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;NumPy version: 1.20.1
Pillow version: 8.2.0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try to pin a compatible version of the package in your code &lt;EM&gt;numpy==&lt;SPAN class="hljs-number"&gt;1.21&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.0&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 01:14:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/we-are-getting-attributeerror-module-numpy-typing-has-no/m-p/108686#M2936</guid>
      <dc:creator>Ismael-K</dc:creator>
      <dc:date>2025-02-04T01:14:31Z</dc:date>
    </item>
  </channel>
</rss>

