{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/37","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/37/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/37/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/37","id":22729965,"number":37,"title":"DLL not found when running makepy.py in win32com.client (with solution hopefully)","user":{"login":"tomnor","id":5942154,"avatar_url":"https://avatars.githubusercontent.com/u/5942154?v=3","gravatar_id":"","url":"https://api.github.com/users/tomnor","html_url":"https://github.com/tomnor","followers_url":"https://api.github.com/users/tomnor/followers","following_url":"https://api.github.com/users/tomnor/following{/other_user}","gists_url":"https://api.github.com/users/tomnor/gists{/gist_id}","starred_url":"https://api.github.com/users/tomnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomnor/subscriptions","organizations_url":"https://api.github.com/users/tomnor/orgs","repos_url":"https://api.github.com/users/tomnor/repos","events_url":"https://api.github.com/users/tomnor/events{/privacy}","received_events_url":"https://api.github.com/users/tomnor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"groutr","id":10678620,"avatar_url":"https://avatars.githubusercontent.com/u/10678620?v=3","gravatar_id":"","url":"https://api.github.com/users/groutr","html_url":"https://github.com/groutr","followers_url":"https://api.github.com/users/groutr/followers","following_url":"https://api.github.com/users/groutr/following{/other_user}","gists_url":"https://api.github.com/users/groutr/gists{/gist_id}","starred_url":"https://api.github.com/users/groutr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groutr/subscriptions","organizations_url":"https://api.github.com/users/groutr/orgs","repos_url":"https://api.github.com/users/groutr/repos","events_url":"https://api.github.com/users/groutr/events{/privacy}","received_events_url":"https://api.github.com/users/groutr/received_events","type":"User","site_admin":false},"milestone":null,"comments":22,"created_at":"2013-11-15T12:40:24Z","updated_at":"2015-06-05T08:23:02Z","closed_at":null,"body":"Anaconda version 2.0.4 win-64 (windows 7)\r\n\r\nThe error trace back to win32\\lib\\pywintypes.py\", line 98. Its after the last try of finding the dll  files. I can find the files\r\npywintypes27.dll\r\npythoncom27.dll\r\nin C:\\Anaconda\\Lib\\site-packages\\win32, but the function __import_pywin32_system_module__\r\ndoes not look there. It does look in the same directory as he sits in. So I copied the dll files to \r\nC:\\Anaconda\\Lib\\site-packages\\win32\\lib\r\nand so it seem to work fine. However, something could possibly be done to avoid this from start, a patch, or something with the install procedure.\r\n"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/109201314","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/37#issuecomment-109201314","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/37","id":109201314,"user":{"login":"educhana","id":3425,"avatar_url":"https://avatars.githubusercontent.com/u/3425?v=3","gravatar_id":"","url":"https://api.github.com/users/educhana","html_url":"https://github.com/educhana","followers_url":"https://api.github.com/users/educhana/followers","following_url":"https://api.github.com/users/educhana/following{/other_user}","gists_url":"https://api.github.com/users/educhana/gists{/gist_id}","starred_url":"https://api.github.com/users/educhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/educhana/subscriptions","organizations_url":"https://api.github.com/users/educhana/orgs","repos_url":"https://api.github.com/users/educhana/repos","events_url":"https://api.github.com/users/educhana/events{/privacy}","received_events_url":"https://api.github.com/users/educhana/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T08:23:02Z","updated_at":"2015-06-05T08:23:02Z","body":"Hi,\r\n\r\nSame issue here win python 3 & win7 64bits\r\n\r\nIn my case, the order of the imports matter:\r\n\r\n```python \r\nimport win32com.client as com\r\nimport pywintypes\r\n```\r\nworks, but:\r\n\r\n```python\r\nimport pywintypes\r\nimport win32com.client as com\r\n```\r\nfails. \r\n\r\n"}}