<?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 Is it a Conda Issue? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019464#M36299</link>
    <description>&lt;P&gt;How do I trouble shoot this problem?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.7 Windows 10 Pro&lt;/P&gt;&lt;P&gt;From a Python Command Prompt&lt;/P&gt;&lt;P&gt;conda --version&lt;/P&gt;&lt;P&gt;returns this&lt;/P&gt;&lt;P&gt;(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;conda --version&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py", line 7, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "multiprocessing\__init__.py", line 16, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "multiprocessing\context.py", line 6, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "multiprocessing\reduction.py", line 16, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "socket.py", line 49, in &amp;lt;module&amp;gt;&lt;BR /&gt;ImportError: dynamic module does not define module export function (PyInit__socket)&lt;BR /&gt;[15460] Failed to execute script pyi_rth_multiprocessing&lt;/P&gt;&lt;P&gt;(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Jan 2021 14:50:14 GMT</pubDate>
    <dc:creator>MarcSwartz</dc:creator>
    <dc:date>2021-01-24T14:50:14Z</dc:date>
    <item>
      <title>Is it a Conda Issue?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019464#M36299</link>
      <description>&lt;P&gt;How do I trouble shoot this problem?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.7 Windows 10 Pro&lt;/P&gt;&lt;P&gt;From a Python Command Prompt&lt;/P&gt;&lt;P&gt;conda --version&lt;/P&gt;&lt;P&gt;returns this&lt;/P&gt;&lt;P&gt;(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;conda --version&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py", line 7, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "multiprocessing\__init__.py", line 16, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "multiprocessing\context.py", line 6, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "multiprocessing\reduction.py", line 16, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\apps\conda\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module&lt;BR /&gt;File "socket.py", line 49, in &amp;lt;module&amp;gt;&lt;BR /&gt;ImportError: dynamic module does not define module export function (PyInit__socket)&lt;BR /&gt;[15460] Failed to execute script pyi_rth_multiprocessing&lt;/P&gt;&lt;P&gt;(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 14:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019464#M36299</guid>
      <dc:creator>MarcSwartz</dc:creator>
      <dc:date>2021-01-24T14:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it a Conda Issue?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019465#M36300</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be running proenv.bat&lt;/P&gt;&lt;P&gt;Make a shortcut&lt;/P&gt;&lt;P&gt;&amp;nbsp; Target :&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;C:\arc_pro\bin\Python\Scripts\proenv.bat&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Start in:&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;C:\arc_pro\bin\Python\envs\arcgispro-py3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where &lt;STRONG&gt;arc_pro&lt;/STRONG&gt; is your install folder for ArcGIS Pro.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;(arcgispro-py3) C:\arc_pro\bin\Python\envs\arcgispro-py3&amp;gt;conda --version
conda 4.3.27

(arcgispro-py3) C:\arc_pro\bin\Python\envs\arcgispro-py3&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't look like you have the base/main pro environment activated which would be in&lt;/P&gt;&lt;P&gt;C:\&lt;EM&gt;YourInstallFolder&lt;/EM&gt;\bin\Python\envs\arcgispro-py3&lt;/P&gt;&lt;P&gt;(arcgispro-py3) C:\arc_pro\bin\Python\envs\arcgispro-py3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;(arcgispro-py3) C:\arc_pro\bin\Python\envs\arcgispro-py3&amp;gt;conda info --envs
# conda environments:
#
arcgispro-py3         *  C:\arc_pro\bin\Python\envs\arcgispro-py3
root                     C:\arc_pro\bin\Python
(arcgispro-py3) C:\arc_pro\bin\Python\envs\arcgispro-py3&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;conda info --envs&lt;BR /&gt;# conda environments:&lt;BR /&gt;#&lt;BR /&gt;arcgispro-py3 * C:\arc_pro\bin\Python\envs\arcgispro-py3&lt;BR /&gt;root C:\arc_pro\bin\Python&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(arcgispro-py3) C:\arc_pro\bin\Python\envs\arcgispro-py3&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 15:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019465#M36300</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-24T15:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it a Conda Issue?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019597#M36320</link>
      <description>&lt;P&gt;First off, Dan thanks for responding!&lt;/P&gt;&lt;P&gt;Current Environment&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcSwartz_0-1611578496825.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4457i7A40B0491D271967/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcSwartz_0-1611578496825.png" alt="MarcSwartz_0-1611578496825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In a command window I ran this&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3&amp;gt;"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\proenv.bat"&lt;/P&gt;&lt;P&gt;then tested with conda --version&lt;/P&gt;&lt;P&gt;issue persists&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcSwartz_1-1611579249379.png" style="width: 604px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4460i80A41DA3E9C1CE68/image-dimensions/604x219?v=v2" width="604" height="219" role="button" title="MarcSwartz_1-1611579249379.png" alt="MarcSwartz_1-1611579249379.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Of note:&amp;nbsp; When I run under an Admin account I do not have this problem, but it is against out IT policy to operate software under an Admin account.&amp;nbsp; And the Clone I create under an Admin Account is not accessible as a General user (local account?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 13:00:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019597#M36320</guid>
      <dc:creator>MarcSwartz</dc:creator>
      <dc:date>2021-01-25T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it a Conda Issue?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019615#M36323</link>
      <description>&lt;P&gt;I don't use a clone.&amp;nbsp; So I suspect that your clone is missing the administrative stuff that the base environment has, or your permissions don't enable you to run/use the admin environment.&lt;/P&gt;&lt;P&gt;You haven't indicated what you want to do?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You won't be able to update conda in any event.&lt;/P&gt;&lt;P&gt;You can install packages in your clone when you are logged in and using the clone.&lt;/P&gt;&lt;P&gt;Perhaps some clarification would help.&amp;nbsp; The fact that you can't determine the conda version doesn't indicate a problem because the Scripts folder is before the path of the clone&lt;/P&gt;&lt;P&gt;C:\arc_pro\bin\Python\Scripts&amp;nbsp; &amp;nbsp; # proenv.bat location&lt;/P&gt;&lt;P&gt;C:\arc_pro\bin\Python\envs\arcgispro-py3&amp;nbsp; &amp;nbsp;# my only environment&lt;/P&gt;&lt;P&gt;C:\arc_pro\bin\Python\envs\...the clone ...&amp;nbsp; &amp;nbsp; # in general, this is what you control as a non-admin&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 14:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019615#M36323</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-25T14:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it a Conda Issue?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019624#M36324</link>
      <description>&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;Fixing Software issues is a process of elimination.&amp;nbsp; You have eliminate one of my question.&amp;nbsp; Is it a Conda Issue? Answer is No.&amp;nbsp; You have also mirrored one of my concerns "&lt;SPAN&gt;So I suspect that your clone is missing the administrative stuff that the base environment has&lt;/SPAN&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time and the next path for my investigation.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 14:25:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1019624#M36324</guid>
      <dc:creator>MarcSwartz</dc:creator>
      <dc:date>2021-01-25T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it a Conda Issue?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1020135#M36385</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Dan,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Just to let you know, here are the steps we used to Clone the Default Python environment as a non-Admin user.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Open a CMD window at&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="arial black,avant garde"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&lt;/FONT&gt; as this was the only location where conda would run.&amp;nbsp; Strange, but it is a very restricted IT environment out of my control.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Activate the default python environment&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;&lt;FONT face="arial black,avant garde"&gt;activate arcgispro-py3&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Clone the default python environment&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;&lt;/SPAN&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;SPAN&gt;conda create --clone arcgispro-py3 --name C:\Users\YourProfile\AppData\Local\ESRI\conda\envs\agp2p7_py3_clone2&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;After the cloning was done we activated the new clone and installed a python package with pip&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;&lt;FONT face="arial black,avant garde"&gt;&lt;SPAN&gt;activate C:\Users\YourProfile\AppData\Local\ESRI\conda\envs\agp2p7_py3_clone2&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;(C:\Users\YourProfile\AppData\Local\ESRI\conda\envs\agp2p7_py3_clone2) C:\Program Files\ArcGIS\Pro\bin\Python\Scripts&amp;gt;&lt;FONT face="arial black,avant garde"&gt;&lt;SPAN&gt;pip install laspy&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;SPAN&gt;Note to others:&lt;FONT face="arial,helvetica,sans-serif"&gt;This is a non standard method that happend to work for the restricted IT environment I operate in.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;SPAN&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The YourProfile is where you need to change to what you use on your computer.&amp;nbsp; Direct copy and paste will not work.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 17:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1020135#M36385</guid>
      <dc:creator>MarcSwartz</dc:creator>
      <dc:date>2021-01-26T17:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it a Conda Issue?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1020143#M36386</link>
      <description>&lt;P&gt;Although newer versions of conda are supposed to behave better with pip, be careful.&amp;nbsp; if you can add conda-forge to your channels to search.&amp;nbsp; We had similar issues when I was teaching and we ended up installing what we needed in the base environment to avoid the whole clone thing.&amp;nbsp; It worked well.&lt;/P&gt;&lt;P&gt;Many an article has been written by my previous incarnation on the clone wars&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clones2.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4586i88E4CD836EF3770F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clones2.png" alt="clones2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-blog/clone-arcgis-pro-for-non-administrators/ba-p/902713" target="_blank"&gt;Clone... ArcGIS Pro ... for non administrators - GeoNet, The Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 17:45:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-a-conda-issue/m-p/1020143#M36386</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-26T17:45:41Z</dc:date>
    </item>
  </channel>
</rss>

