<?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 Issues importing mediapipe TypeError: 'numpy._DTypeMeta' object is not subscriptable in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/40071#M2051</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;TypeError&lt;/SPAN&gt;&lt;SPAN&gt;: 'numpy._DTypeMeta' object is not subscriptable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-16 at 8.10.59 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3140i24230760A0E65650/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-08-16 at 8.10.59 AM.png" alt="Screenshot 2023-08-16 at 8.10.59 AM.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="Screenshot 2023-08-16 at 7.38.45 AM.png" style="width: 348px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3139iDC56DE270419EDAF/image-dimensions/348x106?v=v2" width="348" height="106" role="button" title="Screenshot 2023-08-16 at 7.38.45 AM.png" alt="Screenshot 2023-08-16 at 7.38.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried upgrading pip and installing newer and older versions of NumPy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-16 at 7.39.06 AM.png" style="width: 200px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3141i6EC605FC8559DAFE/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot 2023-08-16 at 7.39.06 AM.png" alt="Screenshot 2023-08-16 at 7.39.06 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 14:37:36 GMT</pubDate>
    <dc:creator>StephanieAlba</dc:creator>
    <dc:date>2023-08-16T14:37:36Z</dc:date>
    <item>
      <title>Issues importing mediapipe TypeError: 'numpy._DTypeMeta' object is not subscriptable</title>
      <link>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/40071#M2051</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;TypeError&lt;/SPAN&gt;&lt;SPAN&gt;: 'numpy._DTypeMeta' object is not subscriptable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-16 at 8.10.59 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3140i24230760A0E65650/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-08-16 at 8.10.59 AM.png" alt="Screenshot 2023-08-16 at 8.10.59 AM.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="Screenshot 2023-08-16 at 7.38.45 AM.png" style="width: 348px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3139iDC56DE270419EDAF/image-dimensions/348x106?v=v2" width="348" height="106" role="button" title="Screenshot 2023-08-16 at 7.38.45 AM.png" alt="Screenshot 2023-08-16 at 7.38.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried upgrading pip and installing newer and older versions of NumPy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-16 at 7.39.06 AM.png" style="width: 200px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3141i6EC605FC8559DAFE/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot 2023-08-16 at 7.39.06 AM.png" alt="Screenshot 2023-08-16 at 7.39.06 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:37:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/40071#M2051</guid>
      <dc:creator>StephanieAlba</dc:creator>
      <dc:date>2023-08-16T14:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issues importing mediapipe TypeError: 'numpy._DTypeMeta' object is not subscriptable</title>
      <link>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/40307#M2061</link>
      <description>&lt;P&gt;Got the same issue. Tried to install numpy 1.19.3 but got below errors:&lt;BR /&gt;&lt;SPAN&gt;ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 20:20:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/40307#M2061</guid>
      <dc:creator>Jenny123456</dc:creator>
      <dc:date>2023-08-17T20:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issues importing mediapipe TypeError: 'numpy._DTypeMeta' object is not subscriptable</title>
      <link>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/40473#M2065</link>
      <description>&lt;P&gt;Turns out that detaching and reattaching the notebook from the cluster does not do it. My journey is detailed here&amp;nbsp;&lt;A href="https://stackoverflow.com/a/76923874/1290485" target="_blank" rel="noopener"&gt;https://stackoverflow.com/a/76923874/1290485&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TLDR; With notebook-scoped libraries, use&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;dbutils.library.restartPython()&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;numpy==1.23 works.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 15:13:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/40473#M2065</guid>
      <dc:creator>StephanieAlba</dc:creator>
      <dc:date>2023-08-18T15:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issues importing mediapipe TypeError: 'numpy._DTypeMeta' object is not subscriptable</title>
      <link>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/50514#M2709</link>
      <description>&lt;P&gt;I ran into the same issue.&amp;nbsp; Before installing OpenCV I was on Numpy 1.21.5 in my notebook.&amp;nbsp; After upgrading to 1.23, the error went away for me.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 15:28:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/issues-importing-mediapipe-typeerror-numpy-dtypemeta-object-is/m-p/50514#M2709</guid>
      <dc:creator>madengr00</dc:creator>
      <dc:date>2023-11-06T15:28:51Z</dc:date>
    </item>
  </channel>
</rss>

