Skip to content

Installation Issues - Wrong Conan Version? #10

@GitJakobHub

Description

@GitJakobHub

Hi, I am trying to set up pyArcus. I get an error message in step 3 of the “How to build” guide.


C:\…\pyArcus\pyArcus>conan install . --build=missing --update
Configuration (profile_host):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
curaengine:compiler.cppstd=20
curaengine*:compiler.cppstd=20
curaengine_plugin_infill_generate:compiler.cppstd=20
curaengine_plugin_gradual_flow:compiler.cppstd=20
curaengine_grpc_definitions:compiler.cppstd=20
scripta:compiler.cppstd=20
umspatial*:compiler.cppstd=20
dulcificum:compiler.cppstd=20
cura_settings:compiler.cppstd=20
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True
tools.build:skip_test=False

Configuration (profile_build):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True
tools.build:skip_test=False

ERROR: Error loading conanfile at 'C:\…\pyArcus\pyArcus\[[conanfile.py](http://conanfile.py/)](http://conanfile.py/)': Current Conan version (1.56.0) does not satisfy the defined one (>=1.58.0).


So it seems like i need at least conan 1.58.0 to do the installation properly. But this is weird, since conan 1.56 is a requirement for the installation. But anyway i tried it and at the same point I get now another error:


C:\…\pyArcus>conan install . --build=missing --update
Configuration (profile_host):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
curaengine:compiler.cppstd=20
curaengine*:compiler.cppstd=20
curaengine_plugin_infill_generate:compiler.cppstd=20
curaengine_plugin_gradual_flow:compiler.cppstd=20
curaengine_grpc_definitions:compiler.cppstd=20
scripta:compiler.cppstd=20
umspatial*:compiler.cppstd=20
dulcificum:compiler.cppstd=20
cura_settings:compiler.cppstd=20
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True
tools.build:skip_test=False

Configuration (profile_build):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True
tools.build:skip_test=False

ERROR: Error loading conanfile at 'C:\…\pyArcus\[[conanfile.py](http://conanfile.py/)](http://conanfile.py/)': Version range '>=0.1.7' from requirement 'pyprojecttoolchain/[>=0.1.7]@ultimaker/stable' required by 'py_require' could not be resolved in local cache

I am confused what exactly is going wrong there. Furthermore I don't have much practice in installing libraries in a way like it is described here.
I just opened a new folder, navigated to it via my terminal and startet to enter the commands. Beforehand I made sure to install all requirements:

I have installed:
Python 3.10.9
ninja 1.12.1
Visual Studio 2022 (nmake should be installed in there aswell (?) )
cmake 3.30.0
sip 6.5.0
conan 1.58 / 1.56

I am glad for every hint or advice i get!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions