<?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: ArcPy import acgiscripting in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279859#M21604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think there is "arcpy" library without ArcMap or ArcGIS Pro. You need to install one of them to get "license"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2020 06:14:05 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-10-27T06:14:05Z</dc:date>
    <item>
      <title>ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279854#M21599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 class="" style="color: #242729; background-color: #f9f8f6; border: 0px; font-weight: inherit; margin: 0px 0px 8px !important 0px;" id="toc-hId-1847835268"&gt;&lt;A href="https://gis.stackexchange.com/questions/375399/arcpy-import-acgiscripting" style="color: var(--black-700); border: 0px; font-weight: normal; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcPy import acgiscripting&lt;/A&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;I created a new environment in Conda and installed Python 3.6.9 along with certain modules including ArcPy in that new environment. &lt;SPAN&gt;Please note that I don't use ArcGIS Pro, I only installed the latest ArcPy so that I can use it in a particular Conda environment.&lt;SPAN class="" style="background-color: #f9f8f6; border: 0px;"&gt;&amp;nbsp;I didn't install ArcGIS Pro first, I just installed the latest the latest arcpy version in an Anaconda environment.&lt;/SPAN&gt;&lt;SPAN style="background-color: #f9f8f6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; I use ArcGIS, but I don't use its ArcPy because it's limited to Python 2.7. How can I resolve this issue?&amp;nbsp;&lt;/SPAN&gt;Now, when the script in Spyder tries to import arcpy, I get the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;File &lt;SPAN class="" style="color: var(--highlight-variable); border: 0px; font-weight: inherit; font-size: 13px;"&gt;"~\Local\Programs\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py"&lt;/SPAN&gt;, line &lt;SPAN class="" style="color: var(--highlight-namespace); border: 0px; font-weight: inherit; font-size: 13px;"&gt;14&lt;/SPAN&gt;, &lt;SPAN class="" style="color: var(--highlight-keyword); border: 0px; font-weight: inherit; font-size: 13px;"&gt;in&lt;/SPAN&gt; &amp;lt;module&amp;gt;     &lt;SPAN class="" style="color: var(--highlight-keyword); border: 0px; font-weight: inherit; font-size: 13px;"&gt;import&lt;/SPAN&gt; arcgisscripting  ImportError: DLL load failed: The specified procedure could &lt;SPAN class="" style="color: var(--highlight-keyword); border: 0px; font-weight: inherit; font-size: 13px;"&gt;not&lt;/SPAN&gt; be found.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279854#M21599</guid>
      <dc:creator>Arthur_Morgan</dc:creator>
      <dc:date>2021-12-11T13:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279855#M21600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is more to "arcpy" than just arcpy and arcgisscripting.&amp;nbsp; There are checks to see if you have a version of Pro or arcmap installed along with them.&amp;nbsp; If you don't, then having the arcgisscripting module or the arcpy folder won't help.&lt;/P&gt;&lt;P&gt;You can install "arcgis" which has some parallel functionality if you don't have access to arcpy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 23:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279855#M21600</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-09-30T23:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279856#M21601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do think that&amp;nbsp;while I love having a functioning Python environment&amp;nbsp;at my disposal while doing ArcGIS work,&amp;nbsp;getting it set up&amp;nbsp;right and bridging the 2.x/3.x chasm that ESRI presents you with if you're working in an organization that uses both Desktop and Pro can&amp;nbsp;go to&amp;nbsp;ridiculous lengths.&lt;/P&gt;&lt;P&gt;But if you're using ArcMap and want to use arcpy, you should probably start with a fresh ArcGIS install and let it install 2.7 wherever it needs to be.&amp;nbsp; That won't be a conda environment. But maybe you can still point your IDE at it. If you're not using Pro, then I don't know if you have access to the arcgis module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 13:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279856#M21601</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2020-10-01T13:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279857#M21602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would highly recommend that arcpy should also be a standalone library that could work independently of ArcGIS.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2020 02:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279857#M21602</guid>
      <dc:creator>Arthur_Morgan</dc:creator>
      <dc:date>2020-10-27T02:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279858#M21603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try posting it as an idea on&amp;nbsp;&lt;A href="https://community.esri.com/space/2167"&gt;ArcGIS Ideas&lt;/A&gt;‌ to see if it gains any traction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2020 03:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279858#M21603</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-27T03:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279859#M21604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think there is "arcpy" library without ArcMap or ArcGIS Pro. You need to install one of them to get "license"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2020 06:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279859#M21604</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-27T06:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279860#M21605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4712"&gt;Bing Zheng&lt;/A&gt;&amp;nbsp;That is the current situation, however, you never know... If the idea catches on, esri may have a new market &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2020 10:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/279860#M21605</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-10-27T10:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1010827#M59316</link>
      <description>&lt;P&gt;I would support the arcpy to be standalone since ArcGIS installation is limited at Window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im trying to install Arcpy to our supercomputer running in CentOS platform but it is not allowing me to use conda to install that.&lt;/P&gt;&lt;P&gt;I am referring to this:&amp;nbsp;anaconda.org/esri/arcpy, where the command is only available for window.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 00:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1010827#M59316</guid>
      <dc:creator>TueVu</dc:creator>
      <dc:date>2020-12-18T00:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1037299#M60427</link>
      <description>&lt;P&gt;I also have this problem but I have both ArcPro 2.6 and ArcDesktop 10.7 installed and running but still can't get arcpy running in my conda environment.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 74, in &amp;lt;module&amp;gt;&lt;BR /&gt;from arcpy.geoprocessing import gp&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._base import *&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcgisscripting&lt;BR /&gt;ImportError: DLL load failed: The specified procedure could not be found.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 20:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1037299#M60427</guid>
      <dc:creator>KenPierce</dc:creator>
      <dc:date>2021-03-16T20:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1223396#M65893</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I believe we got similar issue with our environment setup with&amp;nbsp;&lt;SPAN&gt;ArcGisPro 2.8. Please let me know what you did&amp;nbsp;to fix yours. TIA,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;BR /&gt;File "c:\users\xyz\.conda\envs\arcgispro-py3-clone\lib\runpy.py", line 193, in _run_module_as_main&lt;BR /&gt;"__main__", mod_spec)&lt;BR /&gt;File "c:\users\xyz\.conda\envs\arcgispro-py3-clone\lib\runpy.py", line 85, in _run_code&lt;BR /&gt;exec(code, run_globals)&lt;BR /&gt;File "C:\Users\xyz\.conda\envs\arcgispro-py3-clone\Scripts\start_layer_unit_prod.exe\__main__.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "c:\users\xyz\.conda\envs\arcgispro-py3-clone\lib\site-packages\lotech_tso_data_collector\layer_unit_prod.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;from lotech_gis_tables import TsoArcGisLayers&lt;BR /&gt;File "c:\users\xyz\.conda\envs\arcgispro-py3-clone\lib\site-packages\lotech_gis_tables\__init__.py", line 17, in &amp;lt;module&amp;gt;&lt;BR /&gt;from lotech_arcgis import ArcGisData&lt;BR /&gt;File "c:\users\xyz\.conda\envs\arcgispro-py3-clone\lib\site-packages\lotech_arcgis\__init__.py", line 6, in &amp;lt;module&amp;gt;&lt;BR /&gt;from lotech_arcgis.arc_gis import ArcGisProject, GisUpload&lt;BR /&gt;File "c:\users\xyz\.conda\envs\arcgispro-py3-clone\lib\site-packages\lotech_arcgis\arc_gis.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcpy&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 90, in &amp;lt;module&amp;gt;&lt;BR /&gt;from arcpy.geoprocessing import gp&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._base import *&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcgisscripting&lt;BR /&gt;File "c:\users\xyz\.conda\envs\arcgispro-py3-clone\lib\site-packages\arcgisscripting\__init__.py", line 128, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._arcgisscripting import *&lt;BR /&gt;ImportError: DLL load failed: The specified procedure could not be found.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 15:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1223396#M65893</guid>
      <dc:creator>Iceage</dc:creator>
      <dc:date>2022-10-19T15:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1247106#M66503</link>
      <description>&lt;P&gt;Hi KenPrice, have you found the solution to this because i am facing the same problem. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 01:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1247106#M66503</guid>
      <dc:creator>MarkAnim</dc:creator>
      <dc:date>2023-01-11T01:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1247109#M66505</link>
      <description>&lt;P&gt;My current setup uses two major ways of using python. Whenever I need Arcpy I use the arcpy python command prompt for notebooks or VSCode and hit the cloned ESRI arc environment. I add very little to the ESRI environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For tasks not needing arcpy/arcgisscripting I use miniconda installed separately and whatever custom stuff I need. This is a work around but has worked well for the past few years.&lt;/P&gt;&lt;P&gt;Basically I stopped trying to have an all-in-one environment because eventually you add stuff that won't work with other stuff and I've found it easier to have a few separate miniconda environments for different major tasks. So just to be clear I have installed miniconda as a standard program on its own and switch which cmd.exe I use as needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 01:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1247109#M66505</guid>
      <dc:creator>KenPierce</dc:creator>
      <dc:date>2023-01-11T01:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy import acgiscripting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1260762#M66921</link>
      <description>&lt;P&gt;So the key here is that you have an import error for the DLL. arcgisscripting imports the DLL "_arcgisscripting.pyd".&lt;/P&gt;&lt;P&gt;Even though the interpreter can find the module arcgisscripting, that doesn't seem to be sufficient to find the .pyd file.&lt;/P&gt;&lt;P&gt;I tried adding the path of the .pyd file ('C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgisscripting') to my PYTHONPATH environment variable, restart python, and then it can find the .pyd and now works.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 03:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-acgiscripting/m-p/1260762#M66921</guid>
      <dc:creator>quasitam</dc:creator>
      <dc:date>2023-02-23T03:44:02Z</dc:date>
    </item>
  </channel>
</rss>

