{"action":"created","issue":{"url":"https://api.github.com/repos/shidenggui/easyutils/issues/2","repository_url":"https://api.github.com/repos/shidenggui/easyutils","labels_url":"https://api.github.com/repos/shidenggui/easyutils/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/shidenggui/easyutils/issues/2/comments","events_url":"https://api.github.com/repos/shidenggui/easyutils/issues/2/events","html_url":"https://github.com/shidenggui/easyutils/issues/2","id":177640100,"number":2,"title":"安装不了easyutils ","user":{"login":"chenyangguang","id":7223579,"avatar_url":"https://avatars.githubusercontent.com/u/7223579?v=3","gravatar_id":"","url":"https://api.github.com/users/chenyangguang","html_url":"https://github.com/chenyangguang","followers_url":"https://api.github.com/users/chenyangguang/followers","following_url":"https://api.github.com/users/chenyangguang/following{/other_user}","gists_url":"https://api.github.com/users/chenyangguang/gists{/gist_id}","starred_url":"https://api.github.com/users/chenyangguang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenyangguang/subscriptions","organizations_url":"https://api.github.com/users/chenyangguang/orgs","repos_url":"https://api.github.com/users/chenyangguang/repos","events_url":"https://api.github.com/users/chenyangguang/events{/privacy}","received_events_url":"https://api.github.com/users/chenyangguang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-18T09:00:09Z","updated_at":"2016-09-19T01:57:46Z","closed_at":"2016-09-19T01:57:45Z","body":"_终端执行 \r\n sudo pip install easyutils\r\n然后报这个_\r\nDownloading/unpacking easyutils\r\n  Downloading easyutils-0.0.2.tar.gz\r\n  Running setup.py (path:/tmp/pip_build_root/easyutils/setup.py) egg_info for package easyutils\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 17, in <module>\r\n      File \"/tmp/pip_build_root/easyutils/setup.py\", line 3, in <module>\r\n        import easyutils\r\n      File \"easyutils/__init__.py\", line 1, in <module>\r\n        from . import stock\r\n      File \"easyutils/stock.py\", line 7\r\n    SyntaxError: Non-ASCII character '\\xe5' in file easyutils/stock.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details\r\n    Complete output from command python setup.py egg_info:\r\n    Traceback (most recent call last):\r\n\r\n  File \"<string>\", line 17, in <module>\r\n\r\n  File \"/tmp/pip_build_root/easyutils/setup.py\", line 3, in <module>\r\n\r\n    import easyutils\r\n\r\n  File \"easyutils/__init__.py\", line 1, in <module>\r\n\r\n    from . import stock\r\n\r\n  File \"easyutils/stock.py\", line 7\r\n\r\nSyntaxError: Non-ASCII character '\\xe5' in file easyutils/stock.py on line 7, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details\r\n\r\n我一愣，跑去 安装stock \r\n➜  web-scraper git:(master) ✗ sudo pip install stock\r\nDownloading/unpacking stock\r\n  Downloading stock-0.8.tar.gz\r\n  Running setup.py (path:/tmp/pip_build_root/stock/setup.py) egg_info for package stock\r\n    \r\n    file stock.py (for module stock) not found\r\n    warning: no files found matching 'test_requirements.txt'\r\nDownloading/unpacking flask (from stock)\r\n  Downloading Flask-0.11.1-py2.py3-none-any.whl (80kB): 0bytes downloaded\r\nCleaning up...\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/pip/basecommand.py\", line 122, in main\r\n    status = self.run(options, args)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/commands/install.py\", line 278, in run\r\n    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 1198, in prepare_files\r\n    do_download,\r\n  File \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 1376, in unpack_url\r\n    self.session,\r\n  File \"/usr/lib/python2.7/dist-packages/pip/download.py\", line 572, in unpack_http_url\r\n    download_hash = _download_url(resp, link, temp_location)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/download.py\", line 433, in _download_url\r\n    for chunk in resp_read(4096):\r\n  File \"/usr/lib/python2.7/dist-packages/pip/download.py\", line 421, in resp_read\r\n    chunk_size, decode_content=False):\r\n  File \"/usr/share/python-wheels/urllib3-1.7.1-py2.py3-none-any.whl/urllib3/response.py\", line 225, in stream\r\n    data = self.read(amt=amt, decode_content=decode_content)\r\n  File \"/usr/share/python-wheels/urllib3-1.7.1-py2.py3-none-any.whl/urllib3/response.py\", line 174, in read\r\n    data = self._fp.read(amt)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 573, in read\r\n    s = self.fp.read(amt)\r\n  File \"/usr/lib/python2.7/socket.py\", line 380, in read\r\n    data = self._sock.recv(left)\r\n  File \"/usr/lib/python2.7/ssl.py\", line 341, in recv\r\n    return self.read(buflen)\r\n  File \"/usr/lib/python2.7/ssl.py\", line 260, in read\r\n    return self._sslobj.read(len)\r\nSSLError: The read operation timed out\r\n\r\nStoring debug log for failure in /home/sunshine/.pip/pip.log"},"comment":{"url":"https://api.github.com/repos/shidenggui/easyutils/issues/comments/247899277","html_url":"https://github.com/shidenggui/easyutils/issues/2#issuecomment-247899277","issue_url":"https://api.github.com/repos/shidenggui/easyutils/issues/2","id":247899277,"user":{"login":"shidenggui","id":5035364,"avatar_url":"https://avatars.githubusercontent.com/u/5035364?v=3","gravatar_id":"","url":"https://api.github.com/users/shidenggui","html_url":"https://github.com/shidenggui","followers_url":"https://api.github.com/users/shidenggui/followers","following_url":"https://api.github.com/users/shidenggui/following{/other_user}","gists_url":"https://api.github.com/users/shidenggui/gists{/gist_id}","starred_url":"https://api.github.com/users/shidenggui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shidenggui/subscriptions","organizations_url":"https://api.github.com/users/shidenggui/orgs","repos_url":"https://api.github.com/users/shidenggui/repos","events_url":"https://api.github.com/users/shidenggui/events{/privacy}","received_events_url":"https://api.github.com/users/shidenggui/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T01:57:45Z","updated_at":"2016-09-19T01:57:45Z","body":"需要 python3， python 2.7 有一点兼容性问题"}}
{"actor":{"display_login":"shidenggui"}}