pip install 安装报错
在执行如下指令时报错
pip install \
pandas \
jinja2 \
pyserial \
cerberus \
pyulog \
numpy \
toml \
pyquaternion
报错如下 采用网上的教程 更改 mian 等等都没用
Exception:
Traceback (most recent call last):
File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
注意到某次报错是下载进行到一半出现的:
猜测是网速问题
采用清华镜像源
解决办法:
采用国内镜像下载模块
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple
指令更改为:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple \
> pandas \
> jinja2 \
> pyserial \
> cerberus \
> pyulog \
> numpy \
> toml \
> pyquaternion