C:\Users\xiuwe\AppData\Local\Programs\Python\Python37\Scripts>pip install selenium
Collecting selenium
Downloading https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl (904kB)
|██ | 61kB 1.6kB/s eta 0:08:43ERROR: Exception:
Traceback (most recent call last):
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 360, in _error_catcher
yield
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 442, in read
data = self._fp.read(amt)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\http\client.py", line 447, in read
n = self.readinto(b)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\http\client.py", line 491, in readinto
n = self.fp.readinto(b)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\ssl.py", line 911, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
Collecting selenium
Downloading https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl (904kB)
|██ | 61kB 1.6kB/s eta 0:08:43ERROR: Exception:
Traceback (most recent call last):
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 360, in _error_catcher
yield
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 442, in read
data = self._fp.read(amt)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\http\client.py", line 447, in read
n = self.readinto(b)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\http\client.py", line 491, in readinto
n = self.fp.readinto(b)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\ssl.py", line 911, in read
return 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:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\cli\base_command.py", line 178, in main
status = self.run(options, args)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\commands\install.py", line 352, in run
resolver.resolve(requirement_set)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\resolve.py", line 131, in resolve
self._resolve_one(requirement_set, req)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\resolve.py", line 294, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\resolve.py", line 242, in _get_abstract_dist_for
self.require_hashes
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\operations\prepare.py", line 347, in prepare_linked_requirement
progress_bar=self.progress_bar
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 886, in unpack_url
progress_bar=progress_bar
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 746, in unpack_http_url
progress_bar)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 954, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 683, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\utils\hashes.py", line 62, in check_against_chunks
for chunk in chunks:
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 651, in written_chunks
for chunk in chunks:
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\utils\ui.py", line 156, in iter
for x in it:
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 640, in resp_read
decode_content=False):
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 494, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 459, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 365, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\cli\base_command.py", line 178, in main
status = self.run(options, args)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\commands\install.py", line 352, in run
resolver.resolve(requirement_set)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\resolve.py", line 131, in resolve
self._resolve_one(requirement_set, req)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\resolve.py", line 294, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\resolve.py", line 242, in _get_abstract_dist_for
self.require_hashes
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\operations\prepare.py", line 347, in prepare_linked_requirement
progress_bar=self.progress_bar
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 886, in unpack_url
progress_bar=progress_bar
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 746, in unpack_http_url
progress_bar)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 954, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 683, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\utils\hashes.py", line 62, in check_against_chunks
for chunk in chunks:
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 651, in written_chunks
for chunk in chunks:
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\utils\ui.py", line 156, in iter
for x in it:
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_internal\download.py", line 640, in resp_read
decode_content=False):
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 494, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 459, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "c:\users\xiuwe\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\urllib3\response.py", line 365, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
C:\Users\xiuwe\AppData\Local\Programs\Python\Python37\Scripts>
pip3 --default-timeout=100 install selenium
Collecting selenium
Downloading https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl (904kB)
|████████████████████████████████| 911kB 3.1kB/s
Collecting urllib3 (from selenium)
Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
|████████████████████████████████| 153kB 4.2kB/s
Installing collected packages: urllib3, selenium
Successfully installed selenium-3.141.0 urllib3-1.25.3
Collecting selenium
Downloading https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl (904kB)
|████████████████████████████████| 911kB 3.1kB/s
Collecting urllib3 (from selenium)
Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
|████████████████████████████████| 153kB 4.2kB/s
Installing collected packages: urllib3, selenium
Successfully installed selenium-3.141.0 urllib3-1.25.3