New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tell me what is this and how can i resolve this. #16152
Comments
Hi @Rajan251,
Hope this helps. |
Any feedback here @Rajan251? Is the question solved, can we close the ticket? |
Thanks for reverting @czoido, I am using this version :
Issue: Running the script build-all.sh results in an error.
Context: This error occurs specifically in the line conan install .. --build=missing within the build-all.sh script. can you please provide updatated documention for installation process. |
If you want to use Conan 1, you should be installing Conan 1. In any case, Conan 1 is legacy now, it is strongly recommended to update to Conan 2, which was released more than 1 year ago now. |
Hi memsharded, refer the issue raised, while checking the version , this is showing root@open:/home/opentdf/client-cpp/src# conan --version do you mean we should use Conan version 1 and not 2 ? |
You should try to use Conan 2, because it is now the mainstream, supported and recommended version. But you are trying to load an old recipe that works only with Conan 1.X, so you cannot use Conan 2 for it, and you must install Conan 1.X if you want to use this recipe without modernizing it. |
Thankyou @memsharded. |
This is the guide to update recipes to Conan 2: https://docs.conan.io/1/conan_v2.html |
What is your question?
ERROR: Error loading conanfile at '/home/opentdf/client-cpp/src/conanfile.py': Unable to load conanfile in /home/opentdf/client-cpp/src/conanfile.py
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/opentdf/client-cpp/src/conanfile.py", line 1, in
from conans import ConanFile, CMake
ImportError: cannot import name 'ConanFile' from 'conans' (/root/conan-io/conans/init.py)
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: