orbit icon indicating copy to clipboard operation
orbit copied to clipboard

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

Open jmp75 opened this issue 2 years ago • 1 comments

Checkout orbit at commit 3493933c53bb16d7d2a003db54af879c09dd9f6d

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')

jmp75 avatar Dec 14 '23 02:12 jmp75

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.

pierricgimmig avatar Dec 17 '23 17:12 pierricgimmig