{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/610","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/610/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/610/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/610","id":167223360,"number":610,"title":"Exception and error when install in Windows 7","user":{"login":"shaosh","id":3465507,"avatar_url":"https://avatars.githubusercontent.com/u/3465507?v=3","gravatar_id":"","url":"https://api.github.com/users/shaosh","html_url":"https://github.com/shaosh","followers_url":"https://api.github.com/users/shaosh/followers","following_url":"https://api.github.com/users/shaosh/following{/other_user}","gists_url":"https://api.github.com/users/shaosh/gists{/gist_id}","starred_url":"https://api.github.com/users/shaosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaosh/subscriptions","organizations_url":"https://api.github.com/users/shaosh/orgs","repos_url":"https://api.github.com/users/shaosh/repos","events_url":"https://api.github.com/users/shaosh/events{/privacy}","received_events_url":"https://api.github.com/users/shaosh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-24T08:30:44Z","updated_at":"2016-07-24T19:41:29Z","closed_at":null,"body":"In my Win7 PC, I installed the PyYAML-3.11.win-amd64-py2.7 and cloned this repo. When I run the command \"virtualenv .\" in cmd, it showed errors and exceptions:\r\n\r\n> New python executable in D:\\Documents\\Pokemon\\PokemonGo-Bot\\Scripts\\python.exe\r\nInstalling setuptools, pip, wheel...\r\n  Complete output from command D:\\Documents\\Pokemon...t\\Scripts\\python.exe - setuptools pip wheel:\r\n  Collecting setuptools\r\nException:\r\nTraceback (most recent call last):\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\basecommand.py\", line 215, in main\r\n    status = self.run(options, args)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\commands\\install.py\", line 299, in run\r\n    requirement_set.prepare_files(finder)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\req\\req_set.py\", line 370, in prepare_files\r\n    ignore_dependencies=self.ignore_dependencies))\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\req\\req_set.py\", line 522, in _prepare_file\r\n    finder, self.upgrade, require_hashes)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\req\\req_install.py\", line 268, in populate_link\r\n    self.link = finder.find_requirement(self, upgrade)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\index.py\", line 442, in find_requirement\r\n    all_candidates = self.find_all_candidates(req.name)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\index.py\", line 363, in find_all_candidates\r\n    self.find_links, expand_dir=True)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\index.py\", line 213, in _sort_locations\r\n    sort_path(os.path.join(path, item))\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv_support\\pip-8.1.2-py2.py3-none-any.whl\\pip\\index.py\", line 194, in sort_path\r\n    if mimetypes.guess_type(url, strict=False)[0] == 'text/html':\r\n  File \"c:\\python27\\Lib\\mimetypes.py\", line 297, in guess_type\r\n    init()\r\n  File \"c:\\python27\\Lib\\mimetypes.py\", line 358, in init\r\n    db.read_windows_registry()\r\n  File \"c:\\python27\\Lib\\mimetypes.py\", line 258, in read_windows_registry\r\n    for subkeyname in enum_types(hkcr):\r\n  File \"c:\\python27\\Lib\\mimetypes.py\", line 249, in enum_types\r\n    ctype = ctype.encode(default_encoding) # omit in 3.x!\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1: ordinal not in range(128)\r\n----------------------------------------\r\n...Installing setuptools, pip, wheel...done.\r\nTraceback (most recent call last):\r\n  File \"c:\\python27\\lib\\runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"c:\\python27\\lib\\runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"C:\\Python27\\Scripts\\virtualenv.exe\\__main__.py\", line 9, in <module>\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv.py\", line 711, in main\r\n    symlink=options.symlink)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv.py\", line 944, in create_environment\r\n    download=download,\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv.py\", line 900, in install_wheel\r\n    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)\r\n  File \"c:\\python27\\lib\\site-packages\\virtualenv.py\", line 795, in call_subprocess\r\n    % (cmd_desc, proc.returncode))\r\nOSError: Command D:\\Documents\\Pokemon...t\\Scripts\\python.exe - setuptools pip wheel failed with error code 2\r\n\r\nBesides this issue, I am also wondering what is the equivalence command for \"source bin/activate\". cmd can't locate either command source or the path bin/activate.\r\n\r\nHope someone can direct me to get around this issue and finish the installation.\r\nThanks in advance for any suggestions.  \r\n\r\n### Other Information\r\nOS: Windows 7\r\nGit Commit: (run 'git log -n 1 --pretty=format:\"%H\"' and paste it here)\r\n"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/234797621","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/610#issuecomment-234797621","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/610","id":234797621,"user":{"login":"shaosh","id":3465507,"avatar_url":"https://avatars.githubusercontent.com/u/3465507?v=3","gravatar_id":"","url":"https://api.github.com/users/shaosh","html_url":"https://github.com/shaosh","followers_url":"https://api.github.com/users/shaosh/followers","following_url":"https://api.github.com/users/shaosh/following{/other_user}","gists_url":"https://api.github.com/users/shaosh/gists{/gist_id}","starred_url":"https://api.github.com/users/shaosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaosh/subscriptions","organizations_url":"https://api.github.com/users/shaosh/orgs","repos_url":"https://api.github.com/users/shaosh/repos","events_url":"https://api.github.com/users/shaosh/events{/privacy}","received_events_url":"https://api.github.com/users/shaosh/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T19:41:29Z","updated_at":"2016-07-24T19:41:29Z","body":"I uninstall the Python 2.7.6, Python 3.2 and Python 3.3, and install the Python 2.7.12, all the problems solved. "}}
{"actor":{"display_login":"shaosh"}}