Skip to content

Instantly share code, notes, and snippets.

@lighta
Created November 16, 2022 21:41
Show Gist options
  • Save lighta/97f3638af6eddeb2a1b3ce3aee36f022 to your computer and use it in GitHub Desktop.
Save lighta/97f3638af6eddeb2a1b3ce3aee36f022 to your computer and use it in GitHub Desktop.
root@4ca9abf15fa6 build]# conan install libmicrohttpd/0.9.75@ -r conancenter
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9.3
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
libmicrohttpd/0.9.75: Retrieving from server 'conancenter'
libmicrohttpd/0.9.75: Trying with 'conancenter'...
Downloading conanmanifest.txt completed [0.30k]
Downloading conanfile.py completed [7.90k]
Downloading conan_export.tgz completed [0.38k]
Decompressing conan_export.tgz completed [0.00k]
libmicrohttpd/0.9.75: Downloaded recipe revision 0
ERROR: libmicrohttpd/0.9.75: Cannot load recipe.
Error loading conanfile at '/root/.conan/data/libmicrohttpd/0.9.75/_/_/export/conanfile.py': Unable to load conanfile in /root/.conan/data/libmicrohttpd/0.9.75/_/_/export/conanfile.py
File "/usr/lib64/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/root/.conan/data/libmicrohttpd/0.9.75/_/_/export/conanfile.py", line 1, in <module>
from conan import ConanFile, Version
ImportError: cannot import name 'Version'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment