首页 文章 精选 留言 我的

精选列表

搜索[centos8],共40篇文章
优秀的个人博客,低调大师

【求助帖】在CentOS8环境下用Docker部署Hawkeye出现问题

按照作者文档的部署方法,在Hawkeye目录下执行docker build -t hawkeye .但是报出以下错误:[root@iZ8vb3yphb2x31i6psmb5rZ Hawkeye]# docker build -t hawkeye .Sending build context to Docker daemon 2.441MBStep 1/20 : FROM python:3.7-stretch ---> a6a4ed8843bfStep 2/20 : LABEL MAINTAINER=0xbug ---> Using cache ---> 5c97808edc3fStep 3/20 : ENV TZ=Asia/Shanghai ---> Using cache ---> 9b83d66fd19eStep 4/20 : EXPOSE 80 ---> Using cache ---> 9ec2c382a839Step 5/20 : RUN apt-get update ---> Using cache ---> e34f28b4acdaStep 6/20 : RUN apt-get install --no-install-recommends -y curl gnupg git redis-server supervisor software-properties-common wget ---> Using cache ---> ea86c360bb96Step 7/20 : RUN curl https://openresty.org/package/pubkey.gpg | apt-key add - ---> Using cache ---> 20b1a1b28123Step 8/20 : RUN add-apt-repository -y "deb http://openresty.org/package/debian stretch openresty" ---> Using cache ---> cc147ca17faeStep 9/20 : RUN apt-get update ---> Using cache ---> c89bddff7ab9Step 10/20 : RUN apt-get install -y openresty ---> Using cache ---> c0fb4d1acc3dStep 11/20 : COPY ./deploy /Hawkeye/deploy ---> Using cache ---> 13023d83c77dStep 12/20 : RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r /Hawkeye/deploy/pyenv/requirements.txt -U ---> Running in f687e1308365Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simpleCollecting aniso8601==3.0.2 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/17/13/eecdcc638c0ea3b105ebb62ff4e76914a744ef1b6f308651dbed368c6c01/aniso8601-3.0.2-py2.py3-none-any.whl (22 kB)Collecting certifi==2018.8.24 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147 kB)Collecting chardet==3.0.4 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133 kB)Collecting Click==7.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81 kB)Collecting Deprecated==1.2.3 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/83/2d/7a5a117eccdef0cdf4cf015830945a7d8fdbbc9ec866d7cead758dc4229c/Deprecated-1.2.3-py2.py3-none-any.whl (8.6 kB)Collecting Flask==1.0.2 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl (91 kB)Collecting Flask-RESTful==0.3.6 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/47/08/89cf8594735392cd71752f7cf159fa63765eac3e11b0da4324cdfeaea137/Flask_RESTful-0.3.6-py2.py3-none-any.whl (25 kB)Collecting gunicorn==19.9.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8c/da/b8dd8deb741bff556db53902d4706774c8e1e67265f69528c14c003644e6/gunicorn-19.9.0-py2.py3-none-any.whl (112 kB)Collecting huey==1.10.2 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0e/9f/7f905b90557a64633bbd64a4dae8e038dbe210a9f8641b81977a6653d84b/huey-1.10.2.tar.gz (311 kB)Collecting idna==2.7 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58 kB)Collecting itsdangerous==0.24 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46 kB)Collecting Jinja2==2.10 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126 kB)Collecting MarkupSafe==1.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz (14 kB) ERROR: Command errored out with exit status 1: command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z45ys48z/MarkupSafe/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z45ys48z/MarkupSafe/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3chwijex cwd: /tmp/pip-install-z45ys48z/MarkupSafe/ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-z45ys48z/MarkupSafe/setup.py", line 6, in <module> from setuptools import setup, Extension, Feature ImportError: cannot import name 'Feature' from 'setuptools' (/usr/local/lib/python3.7/site-packages/setuptools/__init__.py) ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.WARNING: You are using pip version 20.1; however, version 20.1.1 is available.You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.The command '/bin/sh -c pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r /Hawkeye/deploy/pyenv/requirements.txt -U' returned a non-zero code: 1仔细阅读了一下发现step1默认运行了python3.7版本,而我服务器端安装的是python3.8并且看到这一句 ImportError: cannot import name 'Feature' from 'setuptools' (/usr/local/lib/python3.7/site-packages/setuptools/__init__.py)这分明是去找python3.7的目录了,我检查过我的python3.8目录下是有需要调用的文件的求助应该怎么解决

资源下载

更多资源
优质分享Android(本站安卓app)

优质分享Android(本站安卓app)

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS,或简称Oracle。是甲骨文公司的一款关系数据库管理系统。它是在数据库领域一直处于领先地位的产品。可以说Oracle数据库系统是目前世界上流行的关系数据库管理系统,系统可移植性好、使用方便、功能强,适用于各类大、中、小、微机环境。它是一种高效率、可靠性好的、适应高吞吐量的数据库方案。

Apache Tomcat7、8、9(Java Web服务器)

Apache Tomcat7、8、9(Java Web服务器)

Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache、Sun 和其他一些公司及个人共同开发而成。因为Tomcat 技术先进、性能稳定,而且免费,因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可,成为目前比较流行的Web 应用服务器。

Java Development Kit(Java开发工具)

Java Development Kit(Java开发工具)

JDK是 Java 语言的软件开发工具包,主要用于移动设备、嵌入式设备上的java应用程序。JDK是整个java开发的核心,它包含了JAVA的运行环境(JVM+Java系统类库)和JAVA工具。