<?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 error using pyinstaller  in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-error-using-pyinstaller/m-p/55906#M4423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes... arcpy doesn't like to be packaged... in fact there is no dll nor anything else in the distribution by that name. &amp;nbsp;&lt;/P&gt;&lt;P&gt;It might have a little bit to do with license issues, so your best bet is to separate your workflow into non-arcpy and arcpy stuff, that way, if the person has a legit license, then it will work.&amp;nbsp; If the person doesn't have arc-anything, then arcpy isn't supposed to be used (but I am sure this is well known in any event)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Nov 2017 22:24:16 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-11-14T22:24:16Z</dc:date>
    <item>
      <title>arcpy error using pyinstaller</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-error-using-pyinstaller/m-p/55905#M4422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using pyinstaller, I'm trying to generate an executable file from a python script that utilizes arcpy, however, I keep getting the following error. Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "agol_backup_utility.py", line 10, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.4\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec(bytecode, module.__dict__)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "arcpy\__init__.py", line 22, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.4\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec(bytecode, module.__dict__)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.4\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec(bytecode, module.__dict__)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.4\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 688, in load_module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; module = imp.load_module(fullname, fp, filename, ext_tuple)&lt;/P&gt;&lt;P&gt;ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.&lt;/P&gt;&lt;P&gt;[7512] Failed to execute script agol_backup_utility&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 11:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-error-using-pyinstaller/m-p/55905#M4422</guid>
      <dc:creator>williammunsell1</dc:creator>
      <dc:date>2017-11-13T11:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy error using pyinstaller</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-error-using-pyinstaller/m-p/55906#M4423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes... arcpy doesn't like to be packaged... in fact there is no dll nor anything else in the distribution by that name. &amp;nbsp;&lt;/P&gt;&lt;P&gt;It might have a little bit to do with license issues, so your best bet is to separate your workflow into non-arcpy and arcpy stuff, that way, if the person has a legit license, then it will work.&amp;nbsp; If the person doesn't have arc-anything, then arcpy isn't supposed to be used (but I am sure this is well known in any event)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 22:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-error-using-pyinstaller/m-p/55906#M4423</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-14T22:24:16Z</dc:date>
    </item>
  </channel>
</rss>

