{"action":"opened","issue":{"url":"https://api.github.com/repos/SerpentAI/SerpentAI/issues/149","repository_url":"https://api.github.com/repos/SerpentAI/SerpentAI","labels_url":"https://api.github.com/repos/SerpentAI/SerpentAI/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/SerpentAI/SerpentAI/issues/149/comments","events_url":"https://api.github.com/repos/SerpentAI/SerpentAI/issues/149/events","html_url":"https://github.com/SerpentAI/SerpentAI/issues/149","id":294700122,"number":149,"title":"[Windows] Module error prevents 'serpent launch game'","user":{"login":"shisatum","id":5474580,"avatar_url":"https://avatars2.githubusercontent.com/u/5474580?v=4","gravatar_id":"","url":"https://api.github.com/users/shisatum","html_url":"https://github.com/shisatum","followers_url":"https://api.github.com/users/shisatum/followers","following_url":"https://api.github.com/users/shisatum/following{/other_user}","gists_url":"https://api.github.com/users/shisatum/gists{/gist_id}","starred_url":"https://api.github.com/users/shisatum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shisatum/subscriptions","organizations_url":"https://api.github.com/users/shisatum/orgs","repos_url":"https://api.github.com/users/shisatum/repos","events_url":"https://api.github.com/users/shisatum/events{/privacy}","received_events_url":"https://api.github.com/users/shisatum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T10:08:36Z","updated_at":"2018-02-06T10:08:36Z","closed_at":null,"author_association":"NONE","body":"* **Operating System:** Windows\r\n* **Serpent.AI Version:** 2018.1.0\r\n* **Game:** Any\r\n* **Backend:** i5 and GTX 1060 3GB\r\n\r\n### Expected result\r\n`serpent launch game` executes successfully\r\n\r\n### Encountered result\r\n```\r\n(serpent) C:\\Users\\Puter\\SerpentAI>serpent launch game\r\nTraceback (most recent call last):\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\runpy.py\", line 193, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"C:\\Users\\Puter\\Anaconda3\\envs\\serpent\\Scripts\\serpent.exe\\__main__.py\", line 9, in <module>\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\serpent.py\", line 52, in execute\r\n    command_function_mapping[command](*sys.argv[2:])\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\serpent.py\", line 349, in launch\r\n    game = initialize_game(game_name)\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\serpent.py\", line 580, in initialize_game\r\n    game = game_class()\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\utilities.py\", line 97, in __call__\r\n    cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)\r\n  File \"C:\\Users\\Puter\\SerpentAI\\plugins\\Serpentsc_combatGamePlugin\\files\\serpent_sc_combat_game.py\", line 14, in __init__\r\n    super().__init__(**kwargs)\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\game.py\", line 57, in __init__\r\n    self.window_controller = WindowController()\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\window_controller.py\", line 11, in __init__\r\n    self.adapter = self._load_adapter()()\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\window_controller.py\", line 42, in _load_adapter\r\n    from serpent.window_controllers.win32_window_controller import Win32WindowController\r\n  File \"c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\\serpent\\window_controllers\\win32_window_controller.py\", line 3, in <module>\r\n    import win32gui\r\nModuleNotFoundError: No module named 'win32gui'\r\n```\r\n\r\n### Steps to reproduce\r\nCreate a plugin on Windows via `serpent generate game` and try to launch it. ie: `serpent launch game`\r\n\r\n### Additional details\r\n```\r\n(serpent) C:\\Users\\Puter\\SerpentAI>pip install win32gui\r\nRequirement already satisfied: win32gui in c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages\r\nRequirement already satisfied: win32core in c:\\users\\puter\\anaconda3\\envs\\serpent\\lib\\site-packages (from win32gui)\r\n\r\n(serpent) C:\\Users\\Puter\\SerpentAI>pip3 install win32gui\r\nRequirement already satisfied: win32gui in c:\\users\\puter\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\r\nRequirement already satisfied: win32core in c:\\users\\puter\\appdata\\local\\programs\\python\\python36\\lib\\site-packages (from win32gui)\r\n```"}}
{"actor":{"display_login":"shisatum"}}