<?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: ImportError: DLL load failed: The specified module could not be found. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141629#M10994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SOLUTION&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had thought upon posting this topic that I would not be able to import the compiled code before arcpy, or that if I found a work-around that let me do so, it would fail some other way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out I was wrong. For whatever reason, importing the compiled code before arcpy works just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the issue is still relevant and I would like to get to the bottom of it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2013 13:15:21 GMT</pubDate>
    <dc:creator>AustinMilt</dc:creator>
    <dc:date>2013-06-25T13:15:21Z</dc:date>
    <item>
      <title>ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141622#M10987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My issue is similar to the one already discussed below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/18047-quot-DLL-Load-Failed-The-specified-procedure-could-not-be-found.-quot?highlight=ImportError%3A+DLL+load+failed%3A+module+found" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/18047-quot-DLL-Load-Failed-The-specified-procedure-could-not-be-found.-quot?highlight=ImportError%3A+DLL+load+failed%3A+module+found&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Specifically, I have written some code in Cython and compiled to a .pyd. In order to run on other machines with ArcGIS 10.1, I have included with my code the Microsoft Manifest (Microsoft.VC90.CRT.manifest) and other required DLLs (msvcm90.dll, msvcp90.dll, msvcr90.dll) that are included in the ArcGIS 10.1 installation. I do not think the code was compiled with these DLLs, but I have been able to get the .pyd to import successfully on other computers without Visual Studio using these DLLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I import my code &lt;/SPAN&gt;&lt;STRONG&gt;before&lt;/STRONG&gt;&lt;SPAN&gt; arcpy, it imports fine. When I import after, it throws the error "ImportError: DLL load failed: The specified module could not be found."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an option for me to make my .pyd work when I distribute this code as part of a toolbox?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if more details or the files themselves would be helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 14:40:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141622#M10987</guid>
      <dc:creator>AustinMilt</dc:creator>
      <dc:date>2013-06-24T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141623#M10988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS uses a different version of the msvc libraries than what you're including, so once they try to load there's a version conflict when it tries to import your local ones. I'd recommend getting rid of the manifest altogether.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using a &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;setup.py&lt;/SPAN&gt;&lt;SPAN&gt; to build, the thing I do is patch \PythonInstall\Lib\distutils\msvc9compiler.py and locate the following lines:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # embed the manifest
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # XXX - this is somewhat fragile - if mt.exe fails, distutils
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # will still consider the DLL up-to-date, but it will not have a
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # manifest.&amp;nbsp; Maybe we should link to a temp file?&amp;nbsp; OTOH, that
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # implies a build environment error that shouldn't go undetected.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mfinfo = self.manifest_get_embed_info(target_desc, ld_args)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if mfinfo is not None:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mffilename, mfid = mfinfo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out_arg = '-outputresource:%s;%s' % (output_filename, mfid)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.spawn(['mt.exe', '-nologo', '-manifest',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mffilename, out_arg])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except DistutilsExecError, msg:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise LinkError(msg)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And just comment them all out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141623#M10988</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2021-12-11T07:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141624#M10989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ArcGIS uses a different version of the msvc libraries than what you're including, so once they try to load there's a version conflict when it tries to import your local ones. I'd recommend getting rid of the manifest altogether.&lt;BR /&gt;&lt;BR /&gt;If you're using a &lt;SPAN style="font-family:Courier New;"&gt;setup.py&lt;/SPAN&gt; to build, the thing I do is patch \PythonInstall\Lib\distutils\msvc9compiler.py ...&lt;BR /&gt;And just comment them all out.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 1) Is there a way for me to compile the code using the same libraries used by ArcGIS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 2) What's the danger or consequences of doing what you suggested?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 16:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141624#M10989</guid>
      <dc:creator>AustinMilt</dc:creator>
      <dc:date>2013-06-24T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141625#M10990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried editing out the manifest embedding section of msvc90compiler.py as suggested and then re-compiling. I still get the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to add details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my setup.py (very simple):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;from distutils.core import setup&lt;BR /&gt;from distutils.extension import Extension&lt;BR /&gt;from Cython.Distutils import build_ext&lt;BR /&gt;import numpy&lt;BR /&gt;&lt;BR /&gt;regiongroup = Extension("RegionGroup", ["RegionGroup.pyx"])&lt;BR /&gt;&lt;BR /&gt;setup(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmdclass = {'build_ext': build_ext},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = [numpy.get_include()],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext_modules = [regiongroup]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;)&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The compile command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;C:/Path/to/python.exe setup.py build_ext --inplace&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the compiling output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;running build_ext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cythoning RegionGroup.pyx to RegionGroup.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;building 'RegionGroup' extension&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;creating build&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;creating build\temp.win32-2.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;creating build\temp.win32-2.7\Release&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBU&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;G -IC:\Users\milt\Desktop\ENV\lib\site-packages\numpy\core\include -IC:\Python27\ArcGIS10.1\include&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-IC:\Users\user\Desktop\ENV\PC /TcRegionGroup.c /Fobuild\temp.win32-2.7\Release\RegionGroup.obj&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RegionGroup.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PATH:C:\Python27\ArcGIS10.1\Libs /LIBPATH:C:\Users\user\Desktop\ENV\libs /LIBPATH:C:\Users\user\Desk&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;top\ENV\PCbuild /EXPORT:initRegionGroup build\temp.win32-2.7\Release\RegionGroup.obj "/OUT:C:\Users\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;user\Dropbox\Graduate School\Dissertation\Marcellus Shale Gas Project\ArcGIS_Build\v0.3\compiled\Reg&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ionGroup.pyd" /IMPLIB:build\temp.win32-2.7\Release\RegionGroup.lib /MANIFESTFILE:build\temp.win32-2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7\Release\RegionGroup.pyd.manifest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Creating library build\temp.win32-2.7\Release\RegionGroup.lib and object build\temp.win32-2.7\Rel&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ease\RegionGroup.exp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that despite having commented out the manifest embedding section in msvc90compiler.py, I still see the /MANIFESTFILE:build\temp.win32.7... which I am guessing is being embedded. That manifest file looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version='1.0' encoding='UTF-8' standalone='yes'?&amp;gt;
&amp;lt;assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'&amp;gt;
&amp;nbsp; &amp;lt;trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;security&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;requestedPrivileges&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;requestedExecutionLevel level='asInvoker' uiAccess='false' /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/requestedPrivileges&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/security&amp;gt;
&amp;nbsp; &amp;lt;/trustInfo&amp;gt;
&amp;nbsp; &amp;lt;dependency&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependentAssembly&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependentAssembly&amp;gt;
&amp;nbsp; &amp;lt;/dependency&amp;gt;
&amp;lt;/assembly&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:48:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141625#M10990</guid>
      <dc:creator>AustinMilt</dc:creator>
      <dc:date>2021-12-11T07:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141626#M10991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Commenting out those specific lines will not prevent the manifest from being created, only bypass the part where it embeds it in the PYD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried 1. NOT packaging those DLLs with your library, and then 2. making sure the &amp;lt;PYTHON&amp;gt;\Lib\site-packages\&amp;lt;yourlib&amp;gt; is completely cleared out of all files before rebuilding and testing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 19:24:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141626#M10991</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2013-06-24T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141627#M10992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Commenting out those specific lines will not prevent the manifest from being created, only bypass the part where it embeds it in the PYD.&lt;BR /&gt;&lt;BR /&gt;Have you tried 1. NOT packaging those DLLs with your library, and then 2. making sure the &amp;lt;PYTHON&amp;gt;\Lib\site-packages\&amp;lt;yourlib&amp;gt; is completely cleared out of all files before rebuilding and testing?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes and yes. For the second suggestion, I may not be following proper protocol or may not understand your suggestion. I havent put any of my scripts in &amp;lt;PYTHON&amp;gt;\Lib\site-packages, including the msvc libraries. Nor have I specified the library locations in any of the files to-be-compiled. One of my previous questions was how I might specify specific msvc library paths for the compiler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 19:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141627#M10992</guid>
      <dc:creator>AustinMilt</dc:creator>
      <dc:date>2013-06-24T19:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141628#M10993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll notice a bunch of &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;Microsoft.VC*&lt;/SPAN&gt;&lt;SPAN&gt; folders in &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;&amp;lt;ArcGIS Install&amp;gt;\bin\&lt;/SPAN&gt;&lt;SPAN&gt;. That has the various DLLs that ArcGIS uses. You can use &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/602802/command-line-tool-to-dump-windows-dll-version"&gt;one of many methods&lt;/A&gt;&lt;SPAN&gt; to determine their versions, set those versions as your dependencies, and then go back to embedding the manifest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though, based on how you're describing the symptoms, it may be something else at play here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 20:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141628#M10993</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2013-06-24T20:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141629#M10994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SOLUTION&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had thought upon posting this topic that I would not be able to import the compiled code before arcpy, or that if I found a work-around that let me do so, it would fail some other way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out I was wrong. For whatever reason, importing the compiled code before arcpy works just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the issue is still relevant and I would like to get to the bottom of it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 13:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141629#M10994</guid>
      <dc:creator>AustinMilt</dc:creator>
      <dc:date>2013-06-25T13:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141630#M10995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SOLUTION&lt;BR /&gt;&lt;BR /&gt;I had thought upon posting this topic that I would not be able to import the compiled code before arcpy, or that if I found a work-around that let me do so, it would fail some other way.&lt;BR /&gt;&lt;BR /&gt;It turns out I was wrong. For whatever reason, importing the compiled code before arcpy works just fine.&lt;BR /&gt;&lt;BR /&gt;I believe the issue is still relevant and I would like to get to the bottom of it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whoopsy daisies. Apparently my other account that I thought was gone is still lurking.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 13:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141630#M10995</guid>
      <dc:creator>AustinMilt</dc:creator>
      <dc:date>2013-06-25T13:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed: The specified module could not be found.</title>
      <link>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141631#M10996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You'll notice a bunch of &lt;SPAN style="font-family:Courier New;"&gt;Microsoft.VC*&lt;/SPAN&gt; folders in &lt;SPAN style="font-family:Courier New;"&gt;&amp;lt;ArcGIS Install&amp;gt;\bin\&lt;/SPAN&gt;. That has the various DLLs that ArcGIS uses. You can use &lt;A href="http://stackoverflow.com/questions/602802/command-line-tool-to-dump-windows-dll-version"&gt;one of many methods&lt;/A&gt; to determine their versions, set those versions as your dependencies, and then go back to embedding the manifest.&lt;BR /&gt;&lt;BR /&gt;Though, based on how you're describing the symptoms, it may be something else at play here.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure how to set the dependencies for these particular files, and the python help on this is sparse.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 13:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-dll-load-failed-the-specified-module/m-p/141631#M10996</guid>
      <dc:creator>AustinMilt</dc:creator>
      <dc:date>2013-06-25T13:17:58Z</dc:date>
    </item>
  </channel>
</rss>

