Skip to content
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

conan profile: error: argument subcommand: invalid choice: 'new' #4861

Open
jmp75 opened this issue Dec 14, 2023 · 1 comment
Open

conan profile: error: argument subcommand: invalid choice: 'new' #4861

jmp75 opened this issue Dec 14, 2023 · 1 comment

Comments

@jmp75
Copy link

jmp75 commented Dec 14, 2023

Checkout orbit at commit 3493933

Creating a new conda environment mamba create -n orbit python=3.11 ; mamba activate orbit

Having bumped into #4860 , I install conan myself rather than letting bootstrap-orbit.sh install it, so that conan is the latest version 2.0.x. pip install conan (mamba install conan may have worked too)

However bootstrapping still fails:

Copying file clang11_common to /home/abc/.conan2/profiles
Copying file gcc10_common to /home/abc/.conan2/profiles
usage: conan profile [-h] [-v [V]] {detect,list,path,show} ...
conan profile: error: argument subcommand: invalid choice: 'new' (choose from 'detect', 'list', 'path', 'show')
@pierricgimmig
Copy link
Collaborator

Hi @jmp75 , Conan 2.0 is not backwards compatible and breaks Orbit compilation. Many of the dependencies, like LLVM for example, are not present in Conan 2.0. Your best bet is to install the latest Conan 1.X version, I've had luck with 1.59 and 1.60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants