-
Notifications
You must be signed in to change notification settings - Fork 1
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
Installation Issues - Wrong Conan Version? #10
Comments
try it with the latest Conan 1 version, which is 1.64.0 |
Hi jellespijker, thank you for your response! I tried it with version 1.64.0. I got the same error. After some research I found the following link: Ultimaker/Cura#15018
After that i repeated the steps of the "How to build" guide. It started to actually build something, but then it ran into this error:
I opened the conan.config file in /.conan and added under [general]: I expected the error to disappear, but nothing changed. Any idea what the issue might be? Maybe this setting needs to be written somewhere or somehow else? Or is there a bigger problem from which this one stems from? Steps to reproduce: #creating python environment #Follow installation guide with conan 1.64.0 #suggestion from MariMakes #command which trows error: This is the full output i get from: conan install . --build=missing --update
```
(pyarcus_env) C:\...\pyArcus>conan install . --build=missing --update
WARN: *** Conan 1 is legacy and on a deprecation path ***
WARN: *** Please upgrade to Conan 2 ***
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): WARN: protobuf/3.21.9: requirement zlib/[>=1.2.11 <2] overridden by arcus/5.3.1 to zlib/1.2.12 conanfile.py (pyarcus/5.4.0-alpha.0+source): Installing package Installing (downloading, building) binaries...
|
try it with adding the |
I changed the command to: but still get the ConanException error - The only difference is the package which throws that error. It is not '1e1dce5c5f980cc9662f9422f167ceffc2aa5e4e' but package 'ab5f3f7cb84662b7c70bba602ca42a5ef97dae8e'
The conan.config file i changed is in C:\Users\Jakob.conan - that should be correct, right?
Here is the full output after the command:
```
(pyarcus_env) C:\Users\Jakob\Desktop\AutomateCura\ArcusServer\pyArcus>conan install . --build=missing --update --require-override=cpython/3.10.4@ultimaker/stable
WARN: *** Conan 1 is legacy and on a deprecation path ***
WARN: *** Please upgrade to Conan 2 ***
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): WARN: cpython/3.10.4@ultimaker/stable: requirement zlib/1.2.11 overridden by pyarcus/5.4.0-alpha.0+source to zlib/1.2.12 conanfile.py (pyarcus/5.4.0-alpha.0+source): Installing package Installing (downloading, building) binaries...
|
I was unsure about the CONAN_DISABLE_STRICT_MODE = 1 variable which I had only changed inside the conan.config file. I changed it in my system variables on my computer aswell and now the installation went a bit further. But again at the same command I got a:
Here is the full output:
|
Solved. The solution was to not send the command "conan remote remove cura" and to install sip manually. Process:python -m venv pyarcus_env pip install conan==1.64.1 git clone https://github.com/Ultimaker/pyArcus.git pip install sip |
Persistence wins, congrats and good job. question I noticed the following in your log
Are you compiling for Windows ARM? |
Hi, I am trying to set up pyArcus. I get an error message in step 3 of the “How to build” guide.
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:
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!
The text was updated successfully, but these errors were encountered: