[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.836 s [INFO] Finished at: 2025-04-23T08:52:37+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'dependdency' in the current project and in the plugi n groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [ local (D:\Maven\apache-maven-3.6.1\mvn_resp), alimaven (http://maven.aliyun.com/nexus/co ntent/groups/public/)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the fo llowing articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefix Exception D:\Maven\fabric-factoring-bank>

时间: 2025-04-23 15:33:57 浏览: 89
<think>嗯,用户遇到了Maven构建失败的问题,具体错误是No plugin found for prefix 'dependdency'导致的NoPluginFoundForPrefixException。我需要先仔细分析这个错误的原因,然后根据提供的引用和之前的回答给出解决方案。 首先,错误信息中的前缀'dependdency'可能存在拼写错误,正确应该是'dependency'。用户在输入命令时可能打错了,导致Maven无法识别对应的插件。这是常见的问题,所以第一步应该检查命令的拼写是否正确。比如用户可能输入了mvn dependdency:tree,而正确的应该是mvn dependency:tree。 接下来,根据引用[1]中提到的情况,当Maven本地仓库为空或插件版本未指定时,可能出现插件加载失败的问题。用户可能在执行命令时,本地仓库缺少对应的插件,或者插件版本未在pom.xml中显式声明,导致Maven无法正确解析。因此,解决方案可能需要用户检查插件配置,添加版本号,或者执行命令重新下载插件。 引用[2]提到配置国内源可以解决依赖下载失败的问题。如果用户使用的是默认的Maven仓库,可能会因为网络问题无法下载插件,配置阿里云镜像可以加速下载过程。此外,检查settings.xml文件中的镜像配置是否正确,确保Maven使用的是有效的镜像源。 引用[3]中提到了JDK版本不兼容的问题。虽然用户当前的错误看起来是插件前缀的问题,但JDK版本不一致也可能导致插件无法加载。需要确认用户使用的JDK版本与项目要求的版本一致,避免兼容性问题。 此外,用户之前的问题涉及Tomcat7运行问题和编码配置,但当前问题集中在Maven插件前缀错误。可能需要排除其他潜在因素,比如本地仓库损坏、Maven配置错误等。 综合以上分析,解决方案应包括以下几个步骤: 1. **检查命令拼写**:确认用户输入的插件前缀是否正确,修正拼写错误。 2. **显式指定插件版本**:在pom.xml中添加dependency插件的版本,确保Maven能找到正确版本。 3. **更新Maven配置**:检查settings.xml中的镜像源,配置国内仓库如阿里云,加速插件下载。 4. **清理本地仓库**:删除本地仓库中可能的损坏文件,重新下载依赖。 5. **验证JDK版本**:确保项目使用的JDK版本与插件兼容。 6. **执行Maven命令重新生成项目**:如mvn idea:idea或mvn clean install,重新生成项目文件。 同时,需要考虑到用户可能对Maven不够熟悉,步骤应尽量详细,并提供示例代码,如pom.xml中的插件配置和settings.xml的镜像设置,方便用户直接复制使用。另外,提醒用户检查环境变量和IDE设置中的Maven路径是否正确,避免配置错误导致的问题。</think>### Maven NoPluginFoundForPrefixException 'dependdency' 错误解决方案 #### 一、错误原因定位 1. **插件前缀拼写错误** 错误提示中的 `dependdency` 存在拼写错误,正确插件前缀应为 `dependency`(少一个字母 `n`)。 - 触发场景:执行命令如 `mvn dependdency:tree` 时,Maven无法解析错误前缀对应的插件[^1] - 验证方法:检查命令行输入是否包含拼写错误 2. **插件未正确配置** Maven未在本地仓库或远程仓库中找到 `dependency` 插件,可能原因: - 本地仓库未下载插件(新环境或清空仓库后) - 未在 `pom.xml` 中显式声明插件版本[^2] --- #### 二、分步解决方案 1. **修正插件前缀拼写** 将命令中的 `dependdency` 改为 `dependency`: ```bash mvn dependency:tree # 正确命令 ``` 2. **强制指定插件版本** 在 `pom.xml` 中添加 `maven-dependency-plugin` 的版本声明: ```xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.6.0</version> <!-- 推荐稳定版本 --> </plugin> </plugins> </build> ``` - 通过 `<version>` 标签规避版本自动选择问题[^3] 3. **配置国内镜像源加速下载** 在 `settings.xml` 中添加阿里云镜像(引用[2]方案优化版): ```xml <mirrors> <mirror> <id>aliyun</id> <name>aliyun maven</name> <url>https://maven.aliyun.com/repository/public</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> ``` - 使用 HTTPS 协议避免网络拦截问题 - 配置后执行 `mvn clean install -U` 强制更新依赖 4. **清理本地仓库残留文件** 删除损坏的插件缓存(路径示例): ```bash rm -rf ~/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin ``` 重新执行命令触发自动下载: ```bash mvn dependency:purge-local-repository dependency:resolve ``` 5. **验证JDK与Maven兼容性** 检查环境变量配置: ```bash # 确认JDK版本与项目要求一致 java -version mvn -v ``` - 典型冲突场景:JDK 11+ 使用旧版 Maven 插件时需添加 `maven-toolchains-plugin`[^3] --- #### 三、高级排查技巧 1. **调试模式获取详细信息** ```bash mvn -X dependency:tree # 输出完整解析过程 ``` 关键日志关注点: ```log [DEBUG] Searching for plugin: dependdency [DEBUG] No plugin found for prefix 'dependdency' ``` 2. **插件前缀绑定检查** 执行命令查看已注册插件前缀映射: ```bash mvn help:describe -Dcmd=dependency:tree ``` 正常输出应包含: ```log Name: Apache Maven Dependency Plugin Description: Provides utility goals... ``` --- ### 配置验证案例 ```xml <!-- 完整pom.xml片段 --> <project> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.6.0</version> </plugin> </plugins> </build> </project> ``` ### 关联问题扩展 1. **如何修复其他Maven插件的前缀解析错误?** - 使用 `mvn help:describe` 验证前缀绑定 - 在 `~/.m2/settings.xml` 中添加 `<pluginGroups>` 配置 2. **Maven插件下载卡顿如何优化?** - 组合使用镜像源与依赖预下载命令: ```bash mvn dependency:go-offline -Dmaven.test.skip=true ``` 3. **IDE中Maven插件仍报错但命令行正常?** - 执行 `mvn idea:idea` 重建IDE元数据(引用[1]方案) - 清除IDE缓存并重新导入项目[^3] --- 通过上述步骤可系统性解决插件前缀解析问题,若仍存在问题建议附上完整的 `pom.xml` 和错误日志进行深度分析。
阅读全文

相关推荐

(dla) root@bbbc6f9276e3:/# pip install mpi4py==3.0.3 Collecting mpi4py==3.0.3 Downloading mpi4py-3.0.3.tar.gz (1.4 MB) |################################| 1.4 MB 294 kB/s Preparing metadata (setup.py) ... done Building wheels for collected packages: mpi4py Building wheel for mpi4py (setup.py) ... error ERROR: Command errored out with exit status 1: command: /root/miniconda3/envs/dla/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-1b28h61h cwd: /tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/ Complete output (206 lines): running bdist_wheel running build running build_src running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/run.py -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/__main__.py -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/__init__.py -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/bench.py -> build/lib.linux-x86_64-3.6/mpi4py creating build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/__main__.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/__init__.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/__init__.pxd -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-3.6/mpi4py creating build/lib.linux-x86_64-3.6/mpi4py/include creating build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py running build_clib MPI configuration: [mpi] from 'mpi.cfg' MPI C compiler: /root/miniconda3/envs/dla/bin/mpicc MPI C++ compiler: /root/miniconda3/envs/dla/bin/mpicxx MPI F compiler: /root/miniconda3/envs/dla/bin/mpifort MPI F90 compiler: /root/miniconda3/envs/dla/bin/mpif90 MPI F77 compiler: /root/miniconda3/envs/dla/bin/mpif77 checking for library 'lmpe' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'mpe' dylib library creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src creating build/temp.linux-x86_64-3.6/src/lib-pmpi /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/mpe.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "mpe" failed checking for library 'vt-mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'vt' dylib library /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/vt.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "vt" failed checking for library 'vt-mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'vt-mpi' dylib library /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-mpi.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "vt-mpi" failed checking for library 'vt-hyb' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o checking for library 'vt.ompi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'vt-hyb' dylib library /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-hyb.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "vt-hyb" failed running build_ext MPI configuration: [mpi] from 'mpi.cfg' MPI C compiler: /root/miniconda3/envs/dla/bin/mpicc MPI C++ compiler: /root/miniconda3/envs/dla/bin/mpicxx MPI F compiler: /root/miniconda3/envs/dla/bin/mpifort MPI F90 compiler: /root/miniconda3/envs/dla/bin/mpif90 MPI F77 compiler: /root/miniconda3/envs/dla/bin/mpif77 checking for dlopen() availability ... checking for header 'dlfcn.h' ... gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o success! removing: _configtest.c _configtest.o success! checking for library 'dl' ... gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest checking for function 'dlopen' ... gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest building 'mpi4py.dl' extension gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/root/miniconda3/envs/dla/include/python3.6m -c src/dynload.c -o build/temp.linux-x86_64-3.6/src/dynload.o gcc -pthread -shared -B /root/miniconda3/envs/dla/compiler_compat -L/root/miniconda3/envs/dla/lib -Wl,-rpath=/root/miniconda3/envs/dla/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/dynload.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o build/lib.linux-x86_64-3.6/mpi4py/dl.cpython-36m-x86_64-linux-gnu.so checking for MPI compile and link ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o error: Cannot compile MPI programs. Check your configuration!!! ---------------------------------------- ERROR: Failed building wheel for mpi4py Running setup.py clean for mpi4py Failed to build mpi4py Installing collected packages: mpi4py Running setup.py install for mpi4py ... error ERROR: Command errored out with exit status 1: command: /root/miniconda3/envs/dla/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tvroj_hd/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/dla/include/python3.6m/mpi4py cwd: /tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/ Complete output (206 lines): running install running build running build_src running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/run.py -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/__main__.py -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/__init__.py -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/bench.py -> build/lib.linux-x86_64-3.6/mpi4py creating build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/__main__.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/__init__.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-3.6/mpi4py/futures copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/__init__.pxd -> build/lib.linux-x86_64-3.6/mpi4py copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-3.6/mpi4py creating build/lib.linux-x86_64-3.6/mpi4py/include creating build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py running build_clib MPI configuration: [mpi] from 'mpi.cfg' MPI C compiler: /root/miniconda3/envs/dla/bin/mpicc MPI C++ compiler: /root/miniconda3/envs/dla/bin/mpicxx MPI F compiler: /root/miniconda3/envs/dla/bin/mpifort MPI F90 compiler: /root/miniconda3/envs/dla/bin/mpif90 MPI F77 compiler: /root/miniconda3/envs/dla/bin/mpif77 checking for library 'lmpe' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'mpe' dylib library creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src creating build/temp.linux-x86_64-3.6/src/lib-pmpi /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/mpe.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "mpe" failed checking for library 'vt-mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'vt' dylib library /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/vt.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "vt" failed checking for library 'vt-mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'vt-mpi' dylib library /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-mpi.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "vt-mpi" failed checking for library 'vt-hyb' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o checking for library 'vt.ompi' ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o building 'vt-hyb' dylib library /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-hyb.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- warning: build_clib: command '/root/miniconda3/envs/dla/bin/mpicc' failed with exit status 1 warning: build_clib: building optional library "vt-hyb" failed running build_ext MPI configuration: [mpi] from 'mpi.cfg' MPI C compiler: /root/miniconda3/envs/dla/bin/mpicc MPI C++ compiler: /root/miniconda3/envs/dla/bin/mpicxx MPI F compiler: /root/miniconda3/envs/dla/bin/mpifort MPI F90 compiler: /root/miniconda3/envs/dla/bin/mpif90 MPI F77 compiler: /root/miniconda3/envs/dla/bin/mpif77 checking for dlopen() availability ... checking for header 'dlfcn.h' ... gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o success! removing: _configtest.c _configtest.o success! checking for library 'dl' ... gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest checking for function 'dlopen' ... gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest building 'mpi4py.dl' extension gcc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/root/miniconda3/envs/dla/include/python3.6m -c src/dynload.c -o build/temp.linux-x86_64-3.6/src/dynload.o gcc -pthread -shared -B /root/miniconda3/envs/dla/compiler_compat -L/root/miniconda3/envs/dla/lib -Wl,-rpath=/root/miniconda3/envs/dla/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/dynload.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o build/lib.linux-x86_64-3.6/mpi4py/dl.cpython-36m-x86_64-linux-gnu.so checking for MPI compile and link ... /root/miniconda3/envs/dla/bin/mpicc -pthread -B /root/miniconda3/envs/dla/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/dla/include/python3.6m -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda-linux-gnu-cc in your PATH. Note that this compiler was either specified at configure time or in one of several possible environment variables. -------------------------------------------------------------------------- failure. removing: _configtest.c _configtest.o error: Cannot compile MPI programs. Check your configuration!!! ---------------------------------------- ERROR: Command errored out with exit status 1: /root/miniconda3/envs/dla/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lw95xiq4/mpi4py_8b91087d72f84b52b99093b4f331a6c6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tvroj_hd/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/dla/include/python3.6m/mpi4py Check the logs for full command output.

Building wheel for opencv-python (PEP 517) ... error ERROR: Command errored out with exit status 1: command: 'D:\APK\Anaconda3\Anaconda_envs\envs\py36\python.exe' 'D:\APK\Anaconda3\Anaconda_envs\envs\py36\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\tmp3qh80acc' cwd: C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-rgwjv3aq\opencv-python_fd09f9b2c0924ba08efc2a7392ece39a Complete output (395 lines): -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 17 2022 x64 v143' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 17 2022 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 17 2022 x64 v143' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 16 2019 x64 v142' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 16 2019 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 16 2019 x64 v142' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 15 2017 x64 v141' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 15 2017 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 15 2017 x64 v141' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator - failure -------------------------------------------------------------------------------- ******************************************************************************** scikit-build could not get a working generator for your system. Aborting build. Building windows wheels for Python 3.6 requires Microsoft Visual Studio 2022. Get it with "Visual Studio 2017": https://visualstudio.microsoft.com/vs/ Or with "Visual Studio 2019": https://visualstudio.microsoft.com/vs/ Or with "Visual Studio 2022": https://visualstudio.microsoft.com/vs/ ******************************************************************************** ---------------------------------------- ERROR: Failed building wheel for opencv-python Failed to build opencv-python ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

ERROR: Command errored out with exit status 1: command: 'D:\Anaconda\evns\po\python.exe' 'D:\Anaconda\evns\po\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\yyl\AppData\Local\Temp\tmpatxkkuj_' cwd: C:\Users\yyl\AppData\Local\Temp\pip-install-qb0ucx4o\opencv-python_e26f28e674d64061957efe5f8d7608d8 Complete output (395 lines): -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 17 2022 x64 v143' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 17 2022 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 17 2022 x64 v143' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 16 2019 x64 v142' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 16 2019 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 16 2019 x64 v142' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 15 2017 x64 v141' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 15 2017 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 15 2017 x64 v141' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator - failure -------------------------------------------------------------------------------- ******************************************************************************** scikit-build could not get a working generator for your system. Aborting build. Building windows wheels for Python 3.6 requires Microsoft Visual Studio 2022. Get it with "Visual Studio 2017": https://visualstudio.microsoft.com/vs/ Or with "Visual Studio 2019": https://visualstudio.microsoft.com/vs/ Or with "Visual Studio 2022": https://visualstudio.microsoft.com/vs/ ******************************************************************************** ---------------------------------------- ERROR: Failed building wheel for opencv-python Failed to build opencv-python ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

[INFO] Scanning for projects... [INFO] [INFO] -------------< com.testingplaform:testing-plaform-backend >------------- [INFO] Building testing-plaform-backend 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31: MySQL Connector/J artifacts moved to reverse-DNS compliant Maven 2+ coordinates. [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ testing-plaform-backend --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ testing-plaform-backend --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 58 source files to f:\Testing Plaform\backend\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /f:/Testing Plaform/backend/src/main/java/com/testingplaform/service/AutomationTestServiceImpl.java:[51,113] 闇€瑕?)'鎴?,',' [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.247 s [INFO] Finished at: 2025-06-17T04:00:06+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project testing-plaform-backend: Compilation failure [ERROR] /f:/Testing Plaform/backend/src/main/java/com/testingplaform/service/AutomationTestServiceImpl.java:[51,113] 闇€瑕?)'鎴?,'[m [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException f:\Testing Plaform\backend>mvn clean install [INFO] Scanning for projects... [INFO] [INFO] -------------< com.testingplaform:testing-plaform-backend >------------- [INFO] Building testing-plaform-backend 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31: MySQL Connector/J artifacts moved to reverse-DNS compliant Maven 2+ coordinates. [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ testing-plaform-backend --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ testing-plaform-backend --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ testing-plaform-backend --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 58 source files to f:\Testing Plaform\backend\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /f:/Testing Plaform/backend/src/main/java/com/testingplaform/service/AutomationTestServiceImpl.java:[51,113] 闇€瑕?)'鎴?,',' [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.377 s [INFO] Finished at: 2025-06-17T04:01:00+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project testing-plaform-backend: Compilation failure [ERROR] /f:/Testing Plaform/backend/src/main/java/com/testingplaform/service/AutomationTestServiceImpl.java:[51,113] 闇€瑕?)'鎴?,'[m [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException f:\Testing Plaform\backend> * 还原的历史记录 Microsoft Windows [版本 10.0.19045.4780] (c) Microsoft Corporation。保留所有权利。 F:\Testing Plaform>cd "f:\Testing Plaform\backend" f:\Testing Plaform\backend>mvn clear install [INFO] Scanning for projects... [INFO] [INFO] -------------< com.testingplaform:testing-plaform-backend >------------- [INFO] Building testing-plaform-backend 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.198 s [INFO] Finished at: 2025-06-17T04:01:52+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Unknown lifecycle phase "clear". You must specify a valid lifecycle phase or a goal in the format :<goal> or :[:]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

PS C:\Users\shang\AppData\Local\Temp\unified_server(2).py1787532444930598> pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting opencv-python Using cached https://pypi.tuna.tsinghua.edu.cn/packages/17/06/68c27a523103dad5837dc5b87e71285280c4f098c60e4fe8a8db6486ab09/opencv-python-4.11.0.86.tar.gz (95.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: numpy>=1.13.3 in d:\programdata\anaconda3\lib\site-packages (from opencv-python) (1.19.4) Building wheels for collected packages: opencv-python Building wheel for opencv-python (pyproject.toml) ... error ERROR: Command errored out with exit status 1: command: 'D:\ProgramData\Anaconda3\python.exe' 'D:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\shang\AppData\Local\Temp\tmp52_mhee8' cwd: C:\Users\shang\AppData\Local\Temp\pip-install-gbpojflz\opencv-python_ee85c9afaf894a92a44d8dda00726cfd Complete output (395 lines): -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 17 2022 x64 v143' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 17 2022 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 17 2022 x64 v143' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 16 2019 x64 v142' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 16 2019 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 16 2019 x64 v142' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Ninja does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'Visual Studio 15 2017 x64 v141' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator Visual Studio 15 2017 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Visual Studio 15 2017 x64 v141' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator - failure -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:2 (PROJECT): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. -- Configuring incomplete, errors occurred! -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator - failure -------------------------------------------------------------------------------- ******************************************************************************** scikit-build could not get a working generator for your system. Aborting build. Building windows wheels for Python 3.6 requires Microsoft Visual Studio 2022. Get it with "Visual Studio 2017": https://visualstudio.microsoft.com/vs/ Or with "Visual Studio 2019": https://visualstudio.microsoft.com/vs/ Or with "Visual Studio 2022": https://visualstudio.microsoft.com/vs/ ******************************************************************************** ---------------------------------------- ERROR: Failed building wheel for opencv-python Failed to build opencv-python ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

E:\IdeaProjects\tag-plugin-verify>mvn clean package -Dmaven.test.skip=true -s D:\maven\apache-maven-3.6.3\conf\settings-comp-sheca.xml [INFO] Scanning for projects... [INFO] [INFO] ------------------< com.sheca.tag:tag-plugin-verify >------------------- [INFO] Building tag-plugin-verify 1.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ tag-plugin-verify --- [INFO] [INFO] --- spring-boot-maven-plugin:2.7.1:build-info (default) @ tag-plugin-verify --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.928 s [INFO] Finished at: 2023-06-09T10:05:33+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.7.1:build-info (default) on project tag-plugin-verify: Cannot create parent directory for 'E:\IdeaProjects\tag-plugin-verify\target\classes\META-INF\build-info.properties' -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

最新推荐

recommend-type

Wamp5: 一键配置ASP/PHP/HTML服务器工具

根据提供的文件信息,以下是关于标题、描述和文件列表中所涉及知识点的详细阐述。 ### 标题知识点 标题中提到的是"PHP集成版工具wamp5.rar",这里面包含了以下几个重要知识点: 1. **PHP**: PHP是一种广泛使用的开源服务器端脚本语言,主要用于网站开发。它可以嵌入到HTML中,从而让网页具有动态内容。PHP因其开源、跨平台、面向对象、安全性高等特点,成为最流行的网站开发语言之一。 2. **集成版工具**: 集成版工具通常指的是将多个功能组合在一起的软件包,目的是为了简化安装和配置流程。在PHP开发环境中,这样的集成工具通常包括了PHP解释器、Web服务器以及数据库管理系统等关键组件。 3. **Wamp5**: Wamp5是这类集成版工具的一种,它基于Windows操作系统。Wamp5的名称来源于它包含的主要组件的首字母缩写,即Windows、Apache、MySQL和PHP。这种工具允许开发者快速搭建本地Web开发环境,无需分别安装和配置各个组件。 4. **RAR压缩文件**: RAR是一种常见的文件压缩格式,它以较小的体积存储数据,便于传输和存储。RAR文件通常需要特定的解压缩软件进行解压缩操作。 ### 描述知识点 描述中提到了工具的一个重要功能:“可以自动配置asp/php/html等的服务器, 不用辛辛苦苦的为怎么配置服务器而烦恼”。这里面涵盖了以下知识点: 1. **自动配置**: 自动配置功能意味着该工具能够简化服务器的搭建过程,用户不需要手动进行繁琐的配置步骤,如修改配置文件、启动服务等。这是集成版工具的一项重要功能,极大地降低了初学者的技术门槛。 2. **ASP/PHP/HTML**: 这三种技术是Web开发中常用的组件。ASP (Active Server Pages) 是微软开发的服务器端脚本环境;HTML (HyperText Markup Language) 是用于创建网页的标准标记语言;PHP是服务器端脚本语言。在Wamp5这类集成环境中,可以很容易地对这些技术进行测试和开发,因为它们已经预配置在一起。 3. **服务器**: 在Web开发中,服务器是一个运行Web应用程序并响应客户端请求的软件或硬件系统。常见的服务器软件包括Apache、Nginx等。集成版工具提供了一个本地服务器环境,使得开发者可以在本地测试他们的应用程序。 ### 标签知识点 标签中仅出现了“PHP”一个关键词,这意味着该工具专注于与PHP相关的开发环境配置。 ### 压缩包子文件的文件名称列表知识点 1. **wamp.exe**: 这是Wamp5集成版工具的可执行文件,用户通过运行这个文件,即可启动Wamp5环境,开始进行PHP等相关开发。 2. **使用说明文档.txt**: 通常这样的文本文件包含了软件的安装指南、功能介绍、常见问题解答以及操作教程等内容。它是用户了解和使用软件的重要辅助资料,可以帮助用户快速上手。 ### 总结 Wamp5作为一个PHP集成版工具,为PHP开发者提供了一个便捷的本地开发环境。它通过自动化配置减少了开发者在搭建环境时的麻烦,整合了Web开发的关键组件,从而使得开发者能够专注于代码的编写,而不是环境配置。此外,它还提供了详尽的使用文档,帮助用户理解和运用这一工具,有效地提高了开发效率。对于希望快速入门PHP或需要一个简单易用的本地开发环境的开发者来说,Wamp5是一个非常好的选择。
recommend-type

【数据融合技术】:甘肃土壤类型空间分析中的专业性应用

# 摘要 数据融合技术作为一种集成多源数据信息的方法,在土壤类型空间分析中发挥着关键作用。本文介绍了数据融合技术的基本概念及其理论基础,阐述了数据预处理、同步整合及冲突解决等关键技术,并详细描述了甘肃土壤类型数据准备的流程,包括数据采集、质量评估、空间化处理及融合实践准备。通过具体案例分析,展示了数据融合在土壤类型空间分布分析、土壤质量评估及土壤保护规划中的应用。同时,文
recommend-type

sht20温湿度传感器使用什么将上拉电阻和滤波电容引出

<think>好的,我需要解决用户关于SHT20温湿度传感器的上拉电阻和滤波电容的引出方法问题。首先,我得回忆一下SHT20的基本特性和常见电路设计。SHT20是数字传感器,通常使用I2C接口,所以上拉电阻是必须的,用于确保数据线和时钟线的稳定。根据引用[2],SHT10是通过SCK和DATA线与单片机通信,而SHT30在引用[3]中使用I2C协议,需要上拉电阻。虽然用户问的是SHT20,但SHT系列通常设计类似,所以可以推断SHT20也需要类似的上拉电阻配置。通常I2C总线的上拉电阻值在4.7kΩ到10kΩ之间,但具体值可能取决于总线速度和电源电压。需要确认数据手册中的推荐值,但用户可能没有
recommend-type

Delphi仿速达财务软件导航条组件开发教程

Delphi作为一款历史悠久的集成开发环境(IDE),由Embarcadero Technologies公司开发,它使用Object Pascal语言,被广泛应用于Windows平台下的桌面应用程序开发。在Delphi中开发组件是一项核心技术,它允许开发者创建可复用的代码单元,提高开发效率和软件模块化水平。本文将详细介绍如何在Delphi环境下仿制速达财务软件中的导航条组件,这不仅涉及到组件的创建和使用,还会涉及界面设计和事件处理等技术点。 首先,需要了解Delphi组件的基本概念。在Delphi中,组件是一种特殊的对象,它们被放置在窗体(Form)上,可以响应用户操作并进行交互。组件可以是可视的,也可以是不可视的,可视组件在设计时就能在窗体上看到,如按钮、编辑框等;不可视组件则主要用于后台服务,如定时器、数据库连接等。组件的源码可以分为接口部分和实现部分,接口部分描述组件的属性和方法,实现部分包含方法的具体代码。 在开发仿速达财务软件的导航条组件时,我们需要关注以下几个方面的知识点: 1. 组件的继承体系 仿制组件首先需要确定继承体系。在Delphi中,大多数可视组件都继承自TControl或其子类,如TPanel、TButton等。导航条组件通常会继承自TPanel或者TWinControl,这取决于导航条是否需要支持子组件的放置。如果导航条只是单纯的一个显示区域,TPanel即可满足需求;如果导航条上有多个按钮或其他控件,可能需要继承自TWinControl以提供对子组件的支持。 2. 界面设计与绘制 组件的外观和交互是用户的第一印象。在Delphi中,可视组件的界面主要通过重写OnPaint事件来完成。Delphi提供了丰富的绘图工具,如Canvas对象,使用它可以绘制各种图形,如直线、矩形、椭圆等,并且可以对字体、颜色进行设置。对于导航条,可能需要绘制背景图案、分隔线条、选中状态的高亮等。 3. 事件处理 导航条组件需要响应用户的交互操作,例如鼠标点击事件。在Delphi中,可以通过重写组件的OnClick事件来响应用户的点击操作,进而实现导航条的导航功能。如果导航条上的项目较多,还可能需要考虑使用滚动条,让更多的导航项能够显示在窗体上。 4. 用户自定义属性和方法 为了使组件更加灵活和强大,开发者通常会为组件添加自定义的属性和方法。在导航条组件中,开发者可能会添加属性来定义按钮个数、按钮文本、按钮位置等;同时可能会添加方法来处理特定的事件,如自动调整按钮位置以适应不同的显示尺寸等。 5. 数据绑定和状态同步 在财务软件中,导航条往往需要与软件其他部分的状态进行同步。例如,用户当前所处的功能模块会影响导航条上相应项目的选中状态。这通常涉及到数据绑定技术,Delphi支持组件间的属性绑定,通过数据绑定可以轻松实现组件状态的同步。 6. 导航条组件的封装和发布 开发完毕后,组件需要被封装成独立的单元供其他项目使用。封装通常涉及将组件源码保存为pas文件,并在设计时能够在组件面板中找到。发布组件可能还需要编写相应的安装包和使用文档,方便其他开发者安装和使用。 7. Delphi IDE的支持 Delphi IDE提供了组件面板编辑器(Component Palette),允许开发者将开发好的组件添加到组件面板中。在组件面板编辑器中,可以自定义组件的图标和分类,使得组件在Delphi中的使用更为便捷。 通过以上的知识点梳理,可以看出Delphi仿速达导航条组件的开发涉及到的不仅仅是简单的代码编写,还涉及到用户界面设计、事件驱动编程、组件封装等多个方面。掌握这些知识点,对于一名Delphi开发者而言,是十分重要的。
recommend-type

【空间分布规律】:甘肃土壤类型与农业生产的关联性研究

# 摘要 本文对甘肃土壤类型及其在农业生产中的作用进行了系统性研究。首先概述了甘肃土壤类型的基础理论,并探讨了土壤类型与农业生产的理论联系。通过GIS技术分析,本文详细阐述了甘肃土壤的空间分布规律,并对其特征和影响因素进行了深入分析。此外,本文还研究了甘肃土壤类型对农业生产实际影响,包括不同区域土壤改良和作物种植案例,以及土壤养分、水分管理对作物生长周期和产量的具体影响。最后,提出了促进甘肃土壤与农业可持续发展的策略,包括土壤保护、退化防治对策以及土壤类型优化与农业创新的结合。本文旨在为
recommend-type

常见运放电路的基本结构和基本原理

<think>首先,用户的问题是关于运算放大器电路的基本结构和工作原理。我需要根据系统级指令来构建回答。系统级指令:-所有行内数学表达式必须使用$...$格式。-独立公式必须使用$$...$$格式并单独成段。-LaTeX语法正确。-使用中文回答。-生成相关问题。-回答中引用的段落末尾自然地添加引用标识,例如[^1]。-回答结构清晰,帮助用户逐步解决问题,尽量保证回答真实可靠。参考站内引用:-引用[1]:关于运算放大器基本电路用法,特别是反相放大器电路。-引用[2]:关于uA741运算放大器电路的基本原理,包括输入级、输出级等。用户的问题:"我想了解运放电路的基本结构和工作原理请问运算放大器电路
recommend-type

ASP.NET2.0初学者个人网站实例分享

标题:“ASP.NET 2.0个人网站”指向了一个网站开发项目,这个项目是使用ASP.NET 2.0框架构建的。ASP.NET 2.0是微软公司推出的一种用于Web开发的服务器端技术,它是.NET Framework的一部分。这个框架允许开发者构建动态网站、网络应用程序和网络服务。开发者可以使用C#或VB.NET等编程语言来编写应用程序。由于这被标签为“2.0”,我们可以假设这是一个较早版本的ASP.NET,相较于后来的版本,它可能没有那么先进的特性,但对于初学者来说,它提供了基础并且易于上手的工具和控件来学习Web开发。 描述:“个人练习所做,适合ASP.NET初学者参考啊,有兴趣的可以前来下载去看看,同时帮小弟我赚些积分”提供了关于该项目的背景信息。它是某个个人开发者或学习者为了实践和学习ASP.NET 2.0而创建的个人网站项目。这个项目被描述为适合初学者作为学习参考。开发者可能是为了积累积分或网络声誉,鼓励他人下载该项目。这样的描述说明了该项目可以被其他人获取,进行学习和参考,或许还能给予原作者一些社区积分或其他形式的回报。 标签:“2.0”表明这个项目专门针对ASP.NET的2.0版本,可能意味着它不是最新的项目,但是它可以帮助初学者理解早期ASP.NET版本的设计和开发模式。这个标签对于那些寻找具体版本教程或资料的人来说是有用的。 压缩包子文件的文件名称列表:“MySelf”表示在分享的压缩文件中,可能包含了与“ASP.NET 2.0个人网站”项目相关的所有文件。文件名“我的”是中文,可能是指创建者以“我”为中心构建了这个个人网站。虽然文件名本身没有提供太多的信息,但我们可以推测它包含的是网站源代码、相关资源文件、数据库文件(如果有的话)、配置文件和可能的文档说明等。 知识点总结: 1. ASP.NET 2.0是.NET Framework下的一个用于构建Web应用程序的服务器端框架。 2. 它支持使用C#和VB.NET等.NET支持的编程语言进行开发。 3. ASP.NET 2.0提供了一组丰富的控件,可帮助开发者快速构建Web表单、用户界面以及实现后台逻辑。 4. 它还提供了一种称作“Web站点”项目模板,使得初学者能够方便地开始Web开发项目。 5. ASP.NET 2.0是微软.NET历史上一个重要的里程碑,引入了许多创新特性,如成员资格和角色管理、主题和皮肤、网站导航和个性化设置等。 6. 在学习ASP.NET 2.0的过程中,初学者可以了解到如HTTP请求和响应、服务器控件、状态管理、数据绑定、缓存策略等基础概念。 7. 本项目可作为ASP.NET初学者的实践平台,帮助他们理解框架的基本结构和工作流程,从而为学习更高版本的ASP.NET打下坚实基础。 8. 个人网站项目的构建可以涵盖前端设计(HTML, CSS, JavaScript)和后端逻辑(C#或VB.NET)的综合应用。 9. 在学习过程中,初学者应该学会如何配置和使用IIS(Internet Information Services)来部署ASP.NET网站。 10. “赚取积分”可能指的是在某个在线社区、论坛或代码托管平台上,通过分享项目来获得一定的积分或奖励,这通常是用来衡量用户对社区贡献大小的一种方式。 综上所述,该“ASP.NET 2.0个人网站”项目不仅为初学者提供了一个实用的学习资源,同时体现了开发者对于开源共享精神的实践,对社区贡献出自己的力量。通过这样的实践,初学者能够更好地理解ASP.NET框架的运作,逐步建立起自己的Web开发技能。
recommend-type

【制图技术】:甘肃高质量土壤分布TIF图件的成图策略

# 摘要 本文针对甘肃土壤分布数据的TIF图件制作进行了系统研究。首先概述了甘肃土壤的分布情况,接着介绍了TIF图件的基础知识,包括其格式特点、空间数据表达以及质量控制方法。随后,文中构建了成图策略的理论框架,分析了土壤分布图的信息需求与数据处理流程,并探讨了成图原则与标准。在实践操作部分,详细阐述了制图软
recommend-type

代码解释 ```c char* image_data = (char*)malloc(width * height * channels); ```

<think>我们正在分析C语言中的一行代码:char* image_data = (char*)malloc(width * height * channels); 这行代码位于一个完整的代码片段中,该片段还包括检查内存分配是否成功。 代码功能分析: 这行代码的主要功能是动态分配一块内存,并将分配的内存地址赋值给指针变量image_data。 详细解析: 1. malloc函数:malloc是C语言中用于动态内存分配的函数,它从堆上分配指定字节数的内存,并返回一个指向这块内存起始地址的void指针(void*)。如果分配失败,则返回NULL。 2. 参数:malloc的参数
recommend-type

快速获取本地IP及MAC地址的方法介绍

在进行IT管理或网络开发过程中,经常需要获取本机的IP地址和MAC地址。对于标题“GetLocalIp”,可以理解为一种程序或脚本,其功能是获取本地计算机的网络信息。描述“获取本地IP、MAC等”表明该程序或脚本不仅能获取IP地址,还可以获取计算机的物理地址即MAC地址。标签“很不错哦”表达的是对该功能或方法的肯定或满意评价。 ### 1. IP地址基础 IP地址全称为互联网协议地址(Internet Protocol Address),是分配给网络上每台计算机或设备的一个32位的标识符,用于确保网络上的通信。在IPv4中,IP地址由四个十进制数组成,每组数字范围在0到255之间,不同组之间用点(.)隔开,例如192.168.1.1。 IP地址分为私有地址和公有地址。私有地址是在内部网络使用的,不会在互联网上传播;公有地址则可在互联网中路由。除此之外,还有专门的本地回环地址(localhost),通常为127.0.0.1,用于本机通信。 ### 2. MAC地址基础 MAC地址(Media Access Control Address)是网络设备的物理地址,用于在网络中唯一标识一个设备。MAC地址通常由六组十六进制数组成,每组之间用冒号(:)或者破折号(-)隔开,例如00:1A:2B:3C:4D:5E。 每块网卡在生产时都会被烧入一个全球唯一的MAC地址。当设备连接到网络时,其IP地址可能会变化(例如在不同的网络中),但MAC地址保持不变。 ### 3. 获取本地IP和MAC的方法 #### 3.1 在Windows系统中 在Windows系统中,可以通过命令提示符(CMD)使用“ipconfig”命令来查看本机的IP地址。要查看本机的MAC地址,可以使用“ipconfig /all”命令,并在输出信息中查找“Physical Address”。 ```cmd ipconfig /all ``` #### 3.2 在Linux系统中 在Linux系统中,通常使用“ifconfig”或“ip addr”命令来查看IP地址和MAC地址。使用“ifconfig”命令可以列出所有网络接口的信息,包括IP地址和MAC地址。在使用“ip addr”命令时,MAC地址显示为link/ether后的六组十六进制数。 ```shell ifconfig # 或者 ip addr ``` #### 3.3 在MAC OS中 在Mac系统中,也可以使用终端(Terminal)来执行命令查看IP地址和MAC地址。使用“ifconfig”命令同样可以获取相关信息。 #### 3.4 在编程语言中 在Python、Java、C#等多种编程语言中,开发者可以使用内置库或第三方库来获取本地IP和MAC地址。 例如,在Python中,可以使用socket和uuid库来获取本机的IP和MAC地址: ```python import socket import uuid hostname = socket.gethostname() local_ip = socket.gethostbyname(hostname) mac = ':'.join(['{:02x}'.format((uuid.getnode() >> elements) & 0xff) for elements in range(0,6,2)]) print("Local IP: %s" % local_ip) print("MAC Address: %s" % mac) ``` ### 4. 编程获取本地IP和MAC的意义 在自动化脚本或程序中获取本地IP和MAC地址非常有用,尤其是当需要在网络环境中动态配置设备、监控网络活动、调试网络问题时,或者在开发需要网络识别的应用程序时。 在云计算、物联网、网络安全等众多IT领域中,这一能力是基础且核心的技术要求之一。例如,自动化的网络配置工具需要知道设备的IP地址来正确配置网络设置,网络安全解决方案可能需要识别网络内的设备MAC地址来增强安全性。 ### 5. 注意事项 在获取和使用IP和MAC地址时,需要考虑隐私和安全问题。确保在合法范围内使用这些信息,并在必要时对这些敏感数据进行加密处理。同时,考虑到MAC地址是设备的固定物理标识,在某些情况下可能需要修改MAC地址以保护隐私或避免网络限制,这在IT管理中称为MAC地址欺骗。 ### 结论 “GetLocalIp”这一概念或工具在IT行业中具有实际应用价值,它涉及到了网络配置、故障排查、自动化脚本编写等多个方面。掌握如何获取和使用IP和MAC地址,对于任何涉及网络的IT专业人员来说都是必不可少的技能。同时,随着网络安全威胁的日益增加,理解IP和MAC地址的作用,对于构建和维护安全网络环境也是至关重要的。