Closed valentinegb closed 6 months ago
Odd error:
conan profile new default --detect
conan profile show default
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /Users/runner/hostedtoolcache/Python/3.12.0/x64
PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.12.0/x64/lib/pkgconfig
Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.0/x64
Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.0/x64
Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.12.0/x64
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.12.0/x64/bin/conan", line 5, in <module>
from conans.conan import run
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/conan.py", line 7, in <module>
from conans.client.command import main
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/command.py", line 14, in <module>
from conans.client.conan_api import Conan, default_manifest_folder, _make_abs_path, ProfileData
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/conan_api.py", line 13, in <module>
from conans.client.cmd.create import create
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/cmd/create.py", line 3, in <module>
from conans.client.cmd.test import install_build_and_test
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/cmd/test.py", line 6, in <module>
from conans.client.manager import deps_install
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/manager.py", line 7, in <module>
from conans.client.installer import BinaryInstaller, call_system_requirements
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/installer.py", line 27, in <module>
from conans.model.graph_lock import GraphLockFile
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/model/graph_lock.py", line 7, in <module>
from conans.client.graph.python_requires import PyRequires
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/graph/python_requires.py", line 5, in <module>
from conans.client.loader import parse_conanfile
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conans/client/loader.py", line 2, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
Trying a different method now, using a version of Python that was more likely intended to be used for this version of conan. If 3.11 doesn't work I'll try Python 3.8 next
Oh! Didn't even realize the checks ran, and they were all successful! Should be good to merge now then :>
Thanks
Attempt to fix the error about getting requirements to build wheel in the build workflow when installing conan in the macOS runner.