<?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 Error with Kernel. ImportError: cannot import name 'cursor_in_leading_ws' in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-with-kernel-importerror-cannot-import-name/m-p/1559713#M90246</link>
    <description>&lt;P&gt;Config:&lt;/P&gt;&lt;P&gt;Windows 10&lt;/P&gt;&lt;P&gt;ArcGIS PRO 3.3&lt;/P&gt;&lt;P&gt;I am facing problems to use notebook nside ArcGIS PRO. When I tried to import or run whatever line, I got the following error:&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;BR /&gt;ImportError Traceback (most recent call last)&lt;BR /&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\__init__.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 56: from .terminal.embed import embed&lt;/P&gt;&lt;P&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\embed.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 16: from IPython.terminal.interactiveshell import TerminalInteractiveShell&lt;/P&gt;&lt;P&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\interactiveshell.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 35: from .debugger import TerminalPdb, Pdb&lt;/P&gt;&lt;P&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\debugger.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 8: from .shortcuts import create_ipython_shortcuts, suspend_to_bg, cursor_in_leading_ws&lt;/P&gt;&lt;P&gt;ImportError: cannot import name 'cursor_in_leading_ws' from 'IPython.terminal.shortcuts' (C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\shortcuts\__init__.py)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have mini conda installed with other environments. I had tried to uninstall both and reinstall again but I it did not work, keep facing the same problem. I have checked the PATH environments and also didnt work again.&lt;/P&gt;&lt;P&gt;Anyone has an idea how to deal with it? I need to work in both ArcGIS and conda envs, so only having one is not a good choice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 15:53:15 GMT</pubDate>
    <dc:creator>EmanuelGoulartFarias</dc:creator>
    <dc:date>2024-11-18T15:53:15Z</dc:date>
    <item>
      <title>Error with Kernel. ImportError: cannot import name 'cursor_in_leading_ws'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-with-kernel-importerror-cannot-import-name/m-p/1559713#M90246</link>
      <description>&lt;P&gt;Config:&lt;/P&gt;&lt;P&gt;Windows 10&lt;/P&gt;&lt;P&gt;ArcGIS PRO 3.3&lt;/P&gt;&lt;P&gt;I am facing problems to use notebook nside ArcGIS PRO. When I tried to import or run whatever line, I got the following error:&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;BR /&gt;ImportError Traceback (most recent call last)&lt;BR /&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\__init__.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 56: from .terminal.embed import embed&lt;/P&gt;&lt;P&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\embed.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 16: from IPython.terminal.interactiveshell import TerminalInteractiveShell&lt;/P&gt;&lt;P&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\interactiveshell.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 35: from .debugger import TerminalPdb, Pdb&lt;/P&gt;&lt;P&gt;File C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\debugger.py, in &amp;lt;module&amp;gt;:&lt;BR /&gt;Line 8: from .shortcuts import create_ipython_shortcuts, suspend_to_bg, cursor_in_leading_ws&lt;/P&gt;&lt;P&gt;ImportError: cannot import name 'cursor_in_leading_ws' from 'IPython.terminal.shortcuts' (C:\Users\Emanuel\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\IPython\terminal\shortcuts\__init__.py)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have mini conda installed with other environments. I had tried to uninstall both and reinstall again but I it did not work, keep facing the same problem. I have checked the PATH environments and also didnt work again.&lt;/P&gt;&lt;P&gt;Anyone has an idea how to deal with it? I need to work in both ArcGIS and conda envs, so only having one is not a good choice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 15:53:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-with-kernel-importerror-cannot-import-name/m-p/1559713#M90246</guid>
      <dc:creator>EmanuelGoulartFarias</dc:creator>
      <dc:date>2024-11-18T15:53:15Z</dc:date>
    </item>
  </channel>
</rss>

