<?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: Getting an error when cloning project environment. in Data Reviewer Support Group Questions</title>
    <link>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834282#M39</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were you able to resolve this issue? I just upgraded to 2.3.2 and get this error. I was previously able to clone with 2.2.4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2019 18:21:36 GMT</pubDate>
    <dc:creator>JeffSkahill</dc:creator>
    <dc:date>2019-05-13T18:21:36Z</dc:date>
    <item>
      <title>Getting an error when cloning project environment.</title>
      <link>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834281#M38</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try to clone my project environment in Python I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::ipykernel-4.9.0-py36_0'.&lt;BR /&gt;LinkError: post-link script failed for package defaults::ipykernel-4.9.0-py36_0&lt;BR /&gt;running your command again with `-v` will provide additional information&lt;BR /&gt;location of failed script: C:\Users\Sdwurtz\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone2\Scripts\.ipykernel-post-link.bat&lt;BR /&gt;==&amp;gt; script messages &amp;lt;==&lt;BR /&gt;&amp;lt;None&amp;gt;&lt;/P&gt;&lt;P&gt;Attempting to roll back.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LinkError: post-link script failed for package defaults::ipykernel-4.9.0-py36_0&lt;BR /&gt;running your command again with `-v` will provide additional information&lt;BR /&gt;location of failed script: C:\Users\Sdwurtz\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone2\Scripts\.ipykernel-post-link.bat&lt;BR /&gt;==&amp;gt; script messages &amp;lt;==&lt;BR /&gt;&amp;lt;None&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get this fixed so I can clone my environment and add the Utility Solutions Toolbox to ArcGIS Pro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 20:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834281#M38</guid>
      <dc:creator>StephanieWurtz</dc:creator>
      <dc:date>2019-04-08T20:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error when cloning project environment.</title>
      <link>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834282#M39</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were you able to resolve this issue? I just upgraded to 2.3.2 and get this error. I was previously able to clone with 2.2.4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 18:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834282#M39</guid>
      <dc:creator>JeffSkahill</dc:creator>
      <dc:date>2019-05-13T18:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error when cloning project environment.</title>
      <link>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834283#M40</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this was the actual solution, but I tried cloning the environment again and renamed the output folder something different than the default name Esri provides and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 20:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834283#M40</guid>
      <dc:creator>JeffSkahill</dc:creator>
      <dc:date>2019-05-13T20:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error when cloning project environment.</title>
      <link>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834284#M41</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did but I cheated. I made a copy of the environment and called it the clone and then imported it in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephanie Wurtz&lt;/P&gt;&lt;P&gt;Data Analyst&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACE PIPE CLEANING, INC.&lt;/P&gt;&lt;P&gt;6601 Universal Avenue&lt;/P&gt;&lt;P&gt;Kansas City, MO 64120&lt;/P&gt;&lt;P&gt;office:   (816) 768-8813&amp;lt;tel:(816)%20241-2891&amp;gt;&lt;/P&gt;&lt;P&gt;email:   stephaniew@acepipe.com&amp;lt;mailto:stephaniew@acepipe.com&amp;gt;&lt;/P&gt;&lt;P&gt;acepipe.com&amp;lt;http://www.acepipe.com/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Carylon Company&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONFIDENTIALITY NOTICE: This e-mail is confidential. If you are not the intended recipient of this e-mail, please contact the sender immediately and do not use or disclose the contents of this e-mail for any purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PPlease consider the environment before printing this email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 12:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834284#M41</guid>
      <dc:creator>StephanieWurtz</dc:creator>
      <dc:date>2019-05-14T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error when cloning project environment.</title>
      <link>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834285#M42</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helpful information here.&amp;nbsp; We have also been experiencing these challenges in &lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;ArcGIS PRO v2.4.1&lt;/STRONG&gt;&lt;/SPAN&gt; (and possibly a few versions before this).&amp;nbsp; More specifically, this is the workaround we have been using:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;1)&amp;nbsp;&lt;/SPAN&gt;In Windows Explorer - Copy the built-in ArcGIS PRO python 3 environment to an alternate location&amp;nbsp;&lt;/DIV&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;ex -&amp;nbsp;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;Copy:&amp;nbsp;&lt;SPAN style="color: #000000; background-color: transparent; border: 0px; font-weight: bold; font-size: 11pt;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;To:&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: bold; font-size: 13px;"&gt;&lt;STRONG&gt;C:\tmp\python\venvs\py3_pro241_copy&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;2) In ArcGIS PRO 2.4.1 - Add the copied python environment as a new environment&lt;/DIV&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;Project -&amp;gt; Python -&amp;gt; Manage Environments -&amp;gt; Add -&amp;gt; Choose "C:\tmp\python\venvs\py3_pro241_copy" -&amp;gt; OK&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;3) Use pythons "wincertstore" module to download the trusted CA certificates on the windows machine*:&amp;nbsp;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;In a python interpreter, run the following code to obtain a certificate bundle (pem_file)&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;import tempfile&lt;BR /&gt;import wincertstore&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;cert_bundle_file = r''&lt;BR /&gt;with tempfile.NamedTemporaryFile(delete=False) as tf:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;for storename in ("CA", "ROOT"):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;with wincertstore.CertSystemStore(storename) as store:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for cert in store.itercerts(usage=wincertstore.SERVER_AUTH):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Py v2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tf.write(cert.get_pem().decode("ascii"))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Py v3&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;except:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tf.write(bytes(cert.get_pem(),"ascii"))&lt;BR /&gt;&amp;nbsp; &amp;nbsp;tf.flush()&lt;BR /&gt;&amp;nbsp; &amp;nbsp;cert_bundle_file&amp;nbsp; &amp;nbsp;=&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Ftf.name%2F" rel="nofollow" style="color: #1155cc; border: 0px; font-weight: inherit; text-decoration: none; font-size: 13px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;tf.name&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;tf.close()&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;print (cert_bundle_file)&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;4) Use PIP to install needed packages (unable to add them through the GUI in PRO)&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;Open a&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold; font-size: 13px;"&gt;&lt;STRONG&gt;cmd.exe&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;change directory to the copied environment "scripts" folder:&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold; font-size: 13px;"&gt;&lt;STRONG&gt;cd C:\tmp\python\venvs\py3_pro241_copy\Scripts&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #222222; background: #ffffff; border: none; font-size: small; margin: 0px 0px 0px 40px; padding: 10px 20px;"&gt;&lt;BLOCKQUOTE class="jive-quote" style="background: #f6f6f6; border: none; font-weight: inherit; font-size: 13px; margin: 0px 0px 0px 40px; padding: 0px 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: small;"&gt;Use PIP to install the needed module with the above "PEM_File":&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: bold; font-size: 13px;"&gt;&lt;STRONG&gt;pip install &amp;lt;MODULE_NAME&amp;gt; --cert &amp;lt;LOCATION_TO_PEM_FILE&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;* The reason step 3 is needed is due to a forward proxy implementation our agency uses that presents all internal clients with a different SSL/TLS certificate than the actual certificate at the site; pip.exe does not trust these internal corporate certificate authority (CA).&amp;nbsp; We have to tell pip what the trusted certificates are and are reading them from the trusted certificate store in windows.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Best of luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 21:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834285#M42</guid>
      <dc:creator>pfoppe</dc:creator>
      <dc:date>2019-12-19T21:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error when cloning project environment.</title>
      <link>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834286#M43</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We recently upgrade to &lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;Esri ArcGIS PRO v2.4.2&lt;/STRONG&gt;&lt;/SPAN&gt; and the python environment cloning through the GUI &lt;SPAN style="color: #339966; font-size: 22px;"&gt;&lt;STRONG&gt;seems functional again&lt;/STRONG&gt;&lt;/SPAN&gt;.&amp;nbsp; No need to use steps #1 and #2.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are still having problems adding packages through the GUI, so steps #3 and #4 is a viable workaround for us.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 21:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-reviewer-support-group-questions/getting-an-error-when-cloning-project-environment/m-p/834286#M43</guid>
      <dc:creator>pfoppe</dc:creator>
      <dc:date>2020-01-22T21:55:40Z</dc:date>
    </item>
  </channel>
</rss>

