You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-------- Computing dependency graph --------
Graph root
conanfile.py: /home/paul/Programming/proyectos/Papa_Conan2/conanfile.py
Requirements
libalsa/1.2.7.2#ae1c73738bf26edee0ef3cb1009ef2e3 - Cache
libiconv/1.17#7f5704761b99aeddacadf5c7904ffbaa - Cache
sdl/2.26.1#32151611eb9c727574c4bc7ccef817cc - Cache
Resolved version ranges
sdl/[>2.26.0 <3.0]: sdl/2.26.1
Graph error
Package 'libtool/2.4.7' not resolved: libtool/2.4.7: Cannot load recipe.
Error loading conanfile at '/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py': Unable to load conanfile in /home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py", line 1, in
from conans import AutoToolsBuildEnvironment, ConanFile, tools
ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/home/paul/Programming/proyectos/Papa_Conan2/venv/lib/python3.10/site-packages/conans/init.py)
ERROR: Package 'libtool/2.4.7' not resolved: libtool/2.4.7: Cannot load recipe.
Error loading conanfile at '/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py': Unable to load conanfile in /home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py", line 1, in
from conans import AutoToolsBuildEnvironment, ConanFile, tools
ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/home/paul/Programming/proyectos/Papa_Conan2/venv/lib/python3.10/site-packages/conans/init.py)`
The text was updated successfully, but these errors were encountered:
Thanks for your report.
This is not a bug in Conan, but a ConanCenter recipe that has not been updated to be 2.0 ready yet.
Updating recipes to 2.0 is an ongoing effort, so far the efforts are being done on the most downloaded recipes: conan-io/conan-center-index#12888
You can see there that libtool is still not ready. I am closing this issue, please follow up in the conan-center-index repo for progress on this.
Environment details
uname -a
Linux gotham 6.0.19-3-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Jan 18 07:57:11 UTC 2023 x86_64 GNU/Linux
g++ --version
g++ (GCC) 12.2.1 20230111
conan --version
Conan version 2.0.0-beta9
python3 --version
Python 3.10.9
Steps to reproduce
conanfile.py:
`from conan import ConanFile
class AppRecipe(ConanFile):
`
Logs
Command:
conan install . --build missing
Conan Output:
`
-------- Input profiles --------
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu20
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu20
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
-------- Computing dependency graph --------
Graph root
conanfile.py: /home/paul/Programming/proyectos/Papa_Conan2/conanfile.py
Requirements
libalsa/1.2.7.2#ae1c73738bf26edee0ef3cb1009ef2e3 - Cache
libiconv/1.17#7f5704761b99aeddacadf5c7904ffbaa - Cache
sdl/2.26.1#32151611eb9c727574c4bc7ccef817cc - Cache
Resolved version ranges
sdl/[>2.26.0 <3.0]: sdl/2.26.1
Graph error
Package 'libtool/2.4.7' not resolved: libtool/2.4.7: Cannot load recipe.
Error loading conanfile at '/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py': Unable to load conanfile in /home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py", line 1, in
from conans import AutoToolsBuildEnvironment, ConanFile, tools
ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/home/paul/Programming/proyectos/Papa_Conan2/venv/lib/python3.10/site-packages/conans/init.py)
ERROR: Package 'libtool/2.4.7' not resolved: libtool/2.4.7: Cannot load recipe.
Error loading conanfile at '/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py': Unable to load conanfile in /home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/paul/.conan2/p/f6d8508ff5cad850/e/conanfile.py", line 1, in
from conans import AutoToolsBuildEnvironment, ConanFile, tools
ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/home/paul/Programming/proyectos/Papa_Conan2/venv/lib/python3.10/site-packages/conans/init.py)`
The text was updated successfully, but these errors were encountered: