安装报错了。
Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
2% | | 12kB 12.1MB/s eta 0:00:01 Exception:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\re
sponse.py", line 186, in read
data = self._fp.read(amt)
File "C:\Python34\lib\site-packages\pip\_vendor\cachecontrol\
filewrapper.py"
, line 49, in read
data = self.__fp.read(amt)
File "C:\Python34\lib\http\
client.py", line 500, in read
return super(HTTPResponse, self).read(amt)
File "C:\Python34\lib\http\
client.py", line 539, in readinto
n = self.fp.readinto(b)
File "C:\Python34\lib\
socket.py", line 374, in readinto
return self._sock.recv_into(b)
File "C:\Python34\lib\
ssl.py", line 751, in recv_into
return self.read(nbytes, buffer)
File "C:\Python34\lib\
ssl.py", line 623, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\
basecommand.py", line 232, in main
status =
self.run(options, args)
File "C:\Python34\lib\site-packages\pip\commands\
install.py", line 339, in r
un
requirement_set.prepare_files(finder)
File "C:\Python34\lib\site-packages\pip\req\
req_set.py", line 355, in prepar
e_files
do_download, session=self.session,
File "C:\Python34\lib\site-packages\pip\
download.py", line 782, in unpack_ur
l
session,
File "C:\Python34\lib\site-packages\pip\
download.py", line 667, in unpack_ht
tp_url
from_path, content_type = _download_http_url(link, session, temp_dir)
File "C:\Python34\lib\site-packages\pip\
download.py", line 843, in _download
_http_url
_download_url(resp, link, content_file)
File "C:\Python34\lib\site-packages\pip\
download.py", line 615, in _download
_url
for chunk in progress_indicator(resp_read(4096), 4096):
File "C:\Python34\lib\site-packages\pip\utils\
ui.py", line 46, in iter
for x in it:
File "C:\Python34\lib\site-packages\pip\
download.py", line 580, in resp_read
decode_content=False):
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\re
sponse.py", line 256, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\re
sponse.py", line 201, in read
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnec
tionPool(host='
pypi.python.org', port=443): Read timed out.
C:\Users\Administrator\Documents\GitHub\redis-monitor>python
run_monitor.pyTraceback (most recent call last):
File "
run_monitor.py", line 8, in <module>
from app import app
File "C:\Users\Administrator\Documents\GitHub\redis-monitor\app\
__init__.py",
line 12, in <module>
from app.views import main_views
File "C:\Users\Administrator\Documents\GitHub\redis-monitor\app\views\main_vie
ws.py", line 9, in <module>
from app.utils import RequestUtil, OtherUtil
File "C:\Users\Administrator\Documents\GitHub\redis-monitor\app\utils\OtherUti
l.py", line 9, in <module>
from CJsonEncoder import CJsonEncoder
ImportError: No module named 'CJsonEncoder'