if you want to “pip install lxml
” in python.
but you will see:
```python
ERROR: Exception:
Traceback (most recent call last):
File "c:\deletewheniiever\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 425, in _error_catcher
yield
File "c:\deletewheniiever\python\lib\site-packages\pip\_vendor\urllib3\response.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "c:\deletewheniiever\python\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "c:\deletewheniiever\python\lib\http\client.py", line 447, in read
n = self.readinto(b)
File "c:\deletewheniiever\python\lib\http\client.py", line 491, in readinto
n = self.fp.readinto(b)
File "c:\deletewheniiever\python\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "c:\deletewheniiever\python\lib\ssl.py", line 1049, in recv_into
return self.read(nbytes, buffer)
File "c:\deletewheniiever\python\lib\ssl.py", line 908, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
timeout! beause of Internet speeds is not quick.
so we need set up something.
pip --default-timeout=100 install -U lxml
Collecting lxml
Downloading lxml-4.5.0-cp37-cp37m-win32.whl (3.3 MB)
|████████████████████████████████| 3.3 MB 7.0 kB/s
Installing collected packages: lxml
Successfully installed lxml-4.5.0
over