{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1488","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1488/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1488/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1488/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1488","id":106494608,"number":1488,"title":"Error with --onefile when having both pywin32 / pypiwin32 installed","user":{"login":"davidenkoization","id":14288875,"avatar_url":"https://avatars.githubusercontent.com/u/14288875?v=3","gravatar_id":"","url":"https://api.github.com/users/davidenkoization","html_url":"https://github.com/davidenkoization","followers_url":"https://api.github.com/users/davidenkoization/followers","following_url":"https://api.github.com/users/davidenkoization/following{/other_user}","gists_url":"https://api.github.com/users/davidenkoization/gists{/gist_id}","starred_url":"https://api.github.com/users/davidenkoization/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidenkoization/subscriptions","organizations_url":"https://api.github.com/users/davidenkoization/orgs","repos_url":"https://api.github.com/users/davidenkoization/repos","events_url":"https://api.github.com/users/davidenkoization/events{/privacy}","received_events_url":"https://api.github.com/users/davidenkoization/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/@medium","name":"@medium","color":"FFD07D"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/Windows","name":"Windows","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"matysek","id":527280,"avatar_url":"https://avatars.githubusercontent.com/u/527280?v=3","gravatar_id":"","url":"https://api.github.com/users/matysek","html_url":"https://github.com/matysek","followers_url":"https://api.github.com/users/matysek/followers","following_url":"https://api.github.com/users/matysek/following{/other_user}","gists_url":"https://api.github.com/users/matysek/gists{/gist_id}","starred_url":"https://api.github.com/users/matysek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matysek/subscriptions","organizations_url":"https://api.github.com/users/matysek/orgs","repos_url":"https://api.github.com/users/matysek/repos","events_url":"https://api.github.com/users/matysek/events{/privacy}","received_events_url":"https://api.github.com/users/matysek/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/milestones/9","html_url":"https://github.com/pyinstaller/pyinstaller/milestones/PyInstaller%203.0","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/milestones/9/labels","id":831132,"number":9,"title":"PyInstaller 3.0","description":" * Add Python 3 support\r\n * Use modulegraph library for dependency analysis.","creator":{"login":"pyinstaller-tickets-migration","id":5377465,"avatar_url":"https://avatars.githubusercontent.com/u/5377465?v=3","gravatar_id":"","url":"https://api.github.com/users/pyinstaller-tickets-migration","html_url":"https://github.com/pyinstaller-tickets-migration","followers_url":"https://api.github.com/users/pyinstaller-tickets-migration/followers","following_url":"https://api.github.com/users/pyinstaller-tickets-migration/following{/other_user}","gists_url":"https://api.github.com/users/pyinstaller-tickets-migration/gists{/gist_id}","starred_url":"https://api.github.com/users/pyinstaller-tickets-migration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyinstaller-tickets-migration/subscriptions","organizations_url":"https://api.github.com/users/pyinstaller-tickets-migration/orgs","repos_url":"https://api.github.com/users/pyinstaller-tickets-migration/repos","events_url":"https://api.github.com/users/pyinstaller-tickets-migration/events{/privacy}","received_events_url":"https://api.github.com/users/pyinstaller-tickets-migration/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":228,"state":"open","created_at":"2014-10-18T13:32:07Z","updated_at":"2015-09-29T11:44:33Z","due_on":"2015-09-29T22:00:00Z","closed_at":null},"comments":27,"created_at":"2015-09-15T07:03:16Z","updated_at":"2015-09-29T11:44:33Z","closed_at":"2015-09-29T11:44:33Z","body":"I am using Python 3.4.3 with the Anaconda 2.3.0 (64 bit) release on a 64-bit Winsows 7 computer and PyInstaller 3.0.dev1 to create an executable out of my python script. If I choose the onefolder option everything runs smoothly as wanted. When I use the --onefile option the creation of my exe works but when I run it the program I get following message:\r\n\r\nWARNING: file already exists but should not: C:\\.....\\Temp\\\\_MEIXXXXX\\pywintypes34.dll\r\n\r\nMy program continues anyway, but when running a multiprocessing.pool it gets stuck and shows the warning above every few seconds with new _MEIXXXXX folders.\r\n\r\nI think this error is connected to using pywin32 and pypiwin32 at the same time (see also here: https://github.com/pyinstaller/pyinstaller/issues/1447). If I deinstall pywin32 from my computer and try to run pyinstaller I get following error message:\r\n  File \"C:\\....\\.conda\\envs\\py34_\\lib\\site-packages\\PyInstaller\\utils\\win32\\winresource.py\", line 20, in <module>\r\n   import pywintypes\r\nImportError: No module named 'pywintypes'\r\n\r\nSo I guess I need both pywin32 and pypiwin32?\r\n\r\nAnd I found a workaround to get rid of the warning message by adding these lines to my spec file after the a=Analysis( .....) part:\r\n\r\nfor d in a.binaries:\r\n    if 'pypiwin32_system32\\\\pywintypes34' in d[1]: \r\n        a.binaries.remove(d)\r\n        break\r\n\r\nThere is no more error message, but the program still gets stuck as before. Any advice you can give me?\r\n"},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/144034897","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1488#issuecomment-144034897","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1488","id":144034897,"user":{"login":"matysek","id":527280,"avatar_url":"https://avatars.githubusercontent.com/u/527280?v=3","gravatar_id":"","url":"https://api.github.com/users/matysek","html_url":"https://github.com/matysek","followers_url":"https://api.github.com/users/matysek/followers","following_url":"https://api.github.com/users/matysek/following{/other_user}","gists_url":"https://api.github.com/users/matysek/gists{/gist_id}","starred_url":"https://api.github.com/users/matysek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matysek/subscriptions","organizations_url":"https://api.github.com/users/matysek/orgs","repos_url":"https://api.github.com/users/matysek/repos","events_url":"https://api.github.com/users/matysek/events{/privacy}","received_events_url":"https://api.github.com/users/matysek/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T11:44:33Z","updated_at":"2015-09-29T11:44:33Z","body":"@giumas It should be fixed. The warning should be gone.\r\n@tallforasmurf For documentation: having both system pywin32 and pypiwin32 should not matter. But pyinstaller does not install now pypiwin32 is pywin32 is already available."}}