pip - pip install fails when installing mlflow
问题描述
I'm working on a Window 10 machine and trying to pip install mlflow but I'm getting the following error message.
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\Continuum\anaconda3\lib\site-packages\pip\_vendor\urllib3\response.py", line 360, in _error_catcher
yield
File "C:\Users\username\AppData\Local\Continuum\anaconda3\lib\site-packages\pip\_vendor\urllib3\response.py", line 442, in read
data = self._fp.read(amt)
File "C:\Users\username\AppData\Local\Continuum\anaconda3\lib\http\client.py", line 447, in read
n = self.readinto(b)
File "C:\Users\username\AppData\Local\Continuum\anaconda3\lib\http\client.py", line 491, in readinto
n = self.fp.readinto(b)
File "C:\Users\username\AppData\Local\Continuum\anaconda3\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "C:\Users\username\AppData\Local\Continuum\anaconda3\lib\ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\username\AppData\Local\Continuum\anaconda3\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:
What's this issue?
解决方案
这似乎是由于一些糟糕的网络设置问题造成的 - 正如您可以从以下事实中观察到的那样,您在似乎是 pip 安装时出现了套接字超时。
推荐阅读
- python - PyQt:使用隐藏和显示后取消堆叠按钮
- php - 检查输入类型文件multiple在php中是否为空
- javascript - HTML Javascript Automatic Window Scroll
- javascript - vuejs - 当我保存文件时,npm run dev webserver 自动刷新工作,但刷新浏览器没有
- java - How to tell if Serial COM is USB or Bluetooth in Processing?
- haskell - 如何明确指定中间变量的类型?
- javascript - jQuery幻灯片过渡“跳过”
- systemd - 如何在电报中接收 systemd 状态和 docker 容器状态?
- python - copy of a slice from a DataFrame warning, loc method not working
- regex - Regex to match required/optional elements and nothing else