个人博客地点:Hue Docker镜像构建非常:gnutls_handshake() failed | 一张假钞的真实世界
错误信息如下:
- Cloning https://github.com/gethue/PyHive to /tmp/pip-req-build-86w_hwe4
- Running command git clone -q https://github.com/gethue/PyHive /tmp/pip-req-build-86w_hwe4
- fatal: unable to access 'https://github.com/gethue/PyHive/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
- WARNING: Discarding git+https://github.com/gethue/PyHive. Command errored out with exit status 128: git clone -q https://github.com/gethue/PyHive /tmp/pip-req-build-86w_hwe4 Check the logs for full command output.
- ERROR: Command errored out with exit status 128: git clone -q https://github.com/gethue/PyHive /tmp/pip-req-build-86w_hwe4 Check the logs for full command output.
- The command '/bin/sh -c ./build/env/bin/pip install --no-cache-dir psycopg2-binary django_redis==4.11.0 flower git+https://github.com/gethue/PyHive git+https://github.com/bryanyang0528/ksql-python pydruid pybigquery elasticsearch-dbapi pyasn1==0.4.1 python-snappy==0.5.4 threadloop sqlalchemy-clickhouse infi.clickhouse_orm==1.0.4' returned a non-zero code: 1
复制代码 网上大都是说因为代理的问题,对我这个场景没用。通过搜刮找到一个很好的代理:https://mirror.ghproxy.com
desktop/core/requirements.txt中以下位置:
- git+https://github.com/gethue/django-babel.git
- git+https://github.com/gethue/django-mako.git
复制代码 改为:
- git+https://mirror.ghproxy.com/https://github.com/gethue/django-babel.git
- git+https://mirror.ghproxy.com/https://github.com/gethue/django-mako.git
复制代码 tools/docker/hue/Dockerfile中以下位置:
- git+https://github.com/gethue/PyHive \
- # pyhive \
- #ksql \
- git+https://github.com/bryanyang0528/ksql-python \
复制代码 改为:
- git+https://mirror.ghproxy.com/https://github.com/gethue/PyHive \
- # pyhive \
- #ksql \
- git+https://mirror.ghproxy.com/https://github.com/bryanyang0528/ksql-python \
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |