Error running python3 conanfile.py

229 views
Skip to first unread message

Gianmarco Valletta

unread,
Nov 23, 2022, 6:35:55 AM11/23/22
to Basilisk Forum

I have a problem with the initialization of Basilisk. I followed all the instructions for mac and I have this error. Someone knows how can I fix?


(.venv) gianmarcovalletta@MacBook-Pro-di-Gianmarco basilisk % python3 conanfile.py

Updating pip:

python -m pip install --upgrade pip

Requirement already satisfied: pip in ./.venv/lib/python3.9/site-packages (22.3.1)

Checking conan configuration: Done

Auto-Generating Draft Modules...  Done

Running this conan command:

python -m conans.conan install . --build=missing -s build_type=Release -if dist3/conan -o opNav=False -o vizInterface=True -o buildProject=True

Configuration:

[settings]

arch=x86_64

arch_build=x86_64

build_type=Release

compiler=apple-clang

compiler.libcxx=libc++

compiler.version=13

os=Macos

os_build=Macos

[options]

buildProject=True

opNav=False

vizInterface=True

[build_requires]

[env]


Updating pip:

python -m pip install --upgrade pip

Requirement already satisfied: pip in ./.venv/lib/python3.9/site-packages (22.3.1)

Checking conan configuration: Done

cmake generator set to: Xcode

protobuf/3.5.2@bincrafters/stable: Not found in local cache, looking in remotes...

protobuf/3.5.2@bincrafters/stable: Trying with 'conancenter'...

protobuf/3.5.2@bincrafters/stable: Trying with 'conan-community'...

ERROR: Failed requirement 'protobuf/3.5.2@bincrafters/stable' from 'conanfile.py (Basilisk/2.1.5b0)'

ERROR: 410: Gone. [Remote: conan-community]

Running cmake:

python -m conans.conan build . -if dist3/conan

Updating pip:

python -m pip install --upgrade pip

Requirement already satisfied: pip in ./.venv/lib/python3.9/site-packages (22.3.1)

Checking conan configuration: Done

cmake generator set to: Xcode

ERROR: conanbuildinfo.txt file not found in /Users/gianmarcovalletta/basilisk/dist3/conan

It is required for this command

You can generate it using 'conan install'

Hanspeter Schaub

unread,
Nov 24, 2022, 12:37:11 PM11/24/22
to Basilisk Forum
The issue is with`Conan` not being able to find the protbuf package to install.  I have seen this sometimes where there is a network issue to the Conan server.  Trying a few hours later it seems to work again and they have resolved their server issue.  

I just ran this on my macOS system and Conan was able to install the required packackge  for me this morning (Nov. 24, 2022).  You might try to do a clean build where you delete or rename your `~/.conan` folder and try again?  

Reply all
Reply to author
Forward
0 new messages