GitLab流水线Conan导入错误:无法加载gtest/1.10.0配方
GitLab流水线Conan依赖导入错误求助
此前GitLab流水线已正常运行多日,代码仓库未做任何更新,却突发Conan依赖导入错误,恳请各位帮忙排查原因。
流水线运行环境镜像中的Conan版本为:Conan version 1.51.3
错误日志如下:
gtest/1.10.0: Not found in local cache, looking in remotes... gtest/1.10.0: Trying with 'conancenter'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz gtest/1.10.0: Downloaded recipe revision 0 ERROR: gtest/1.10.0: Cannot load recipe. Error loading conanfile at '/root/.conan/data/gtest/1.10.0/_/_/export/conanfile.py': Unable to load conanfile in /root/.conan/data/gtest/1.10.0/_/_/export/conanfile.py File "/usr/lib/python3.10/imp.py", line 172, in load_source module = _load(spec) File "<frozen importlib._bootstrap>", line 719, in _load File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/root/.conan/data/gtest/1.10.0/_/_/export/conanfile.py", line 6, in <module> from conan.tools.files import apply_conandata_patches, export_conandata_patches, copy, get, replace_in_file, rm, rmdir ImportError: cannot import name 'export_conandata_patches' from 'conan.tools.files' (/usr/local/lib/python3.10/dist-packages/conan/tools/files/__init__.py)
期待您的回复,谢谢。
内容的提问来源于stack exchange,提问作者Honey Sukesan
相关产品推荐
相关产品推荐

