Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.08k stars 2.06k forks source link

Building Cura from source in Windows running fails: DLL load failed while importing pynest2d #17717

Open panaceya opened 9 months ago

panaceya commented 9 months ago

Cura Version

cura/5.7.0-alpha.0 (from master)

Operating System

Windows 10

Printer

-

Reproduction steps

pip install conan==1.60.2
conan config install https://github.com/ultimaker/conan-config.git
conan profile new default --detect --force
cd D:\Cura
git clone https://github.com/Ultimaker/Cura.git 
cd D:\Cura\Cura
conan install . --build=missing --update -o cura:devtools=True -g VirtualPythonEnv

Actual results

dir D:\cura:

    Directory: D:\cura

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        20.12.2023     18:11                Cura
d-----        15.12.2023     21:05                CuraEngine
d-----        20.12.2023     17:57                libArcus
d-----        20.12.2023     17:58                libNest2D
d-----        20.12.2023     17:57                libSavitar
d-----        20.12.2023     17:40                pynest2d
d-----        15.12.2023     19:24                Uranium

conan install . --build=missing --update -o cura:devtools=True -g VirtualPythonEnv:

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
[options]
cura:devtools=True
[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

WARN: pyarcus/5.3.0: requirement cpython/3.10.4 overridden by uranium/5.7.0-alpha.0+6c8c65@ultimaker/testing to cpython/3.10.4@ultimaker/stable
WARN: pyarcus/5.3.0: requirement zlib/1.2.12 overridden by uranium/5.7.0-alpha.0+6c8c65@ultimaker/testing to zlib/1.2.13
WARN: protobuf/3.21.9: requirement zlib/[>=1.2.11 <2] overridden by pyarcus/5.3.0 to zlib/1.2.13
WARN: cpython/3.10.4@ultimaker/stable: requirement zlib/1.2.11 overridden by pyarcus/5.3.0 to zlib/1.2.13
WARN: openssl/3.2.0: requirement zlib/[>=1.2.11 <2] overridden by cpython/3.10.4@ultimaker/stable to zlib/1.2.13
WARN: tcl/8.6.10: requirement zlib/[>=1.2.11 <2] overridden by tk/8.6.10 to zlib/1.2.13
WARN: curaengine/5.7.0-alpha.0+f6a653@ultimaker/testing: requirement zlib/1.2.12 overridden by cura/5.7.0-alpha.0 to zlib/1.2.13
WARN: asio-grpc/2.6.0: requirement boost/1.83.0 overridden by curaengine_grpc_definitions/0.2.0-alpha.0+c163ce@ultimaker/testing to boost/1.82.0
WARN: grpc/1.50.1: requirement openssl/[>=1.1 <4] overridden by asio-grpc/2.6.0 to openssl/3.2.0
WARN: grpc/1.50.1: requirement zlib/[>=1.2.11 <2] overridden by asio-grpc/2.6.0 to zlib/1.2.13
WARN: grpc/1.50.1: requirement protobuf/3.21.12 overridden by asio-grpc/2.6.0 to protobuf/3.21.9
WARN: curaengine_plugin_gradual_flow/0.1.0-beta.2+a6672e@ultimaker/stable: requirement curaengine_grpc_definitions/0.2.0-alpha.0+6eb33d@ultimaker/cura_10831 overridden by cura/5.7.0-alpha.0 to curaengine_grpc_definitions/0.2.0-alpha.0+c163ce@ultimaker/testing
WARN: curaengine_plugin_gradual_flow/0.1.0-beta.2+a6672e@ultimaker/stable: requirement openssl/1.1.1l overridden by cura/5.7.0-alpha.0 to openssl/3.2.0
WARN: curaengine_plugin_gradual_flow/0.1.0-beta.2+a6672e@ultimaker/stable: requirement spdlog/1.10.0 overridden by cura/5.7.0-alpha.0 to spdlog/1.12.0
WARN: pysavitar/5.3.0: requirement cpython/3.10.4 overridden by cura/5.7.0-alpha.0 to cpython/3.10.4@ultimaker/stable
WARN: pynest2d/5.3.0: requirement cpython/3.10.4 overridden by cura/5.7.0-alpha.0 to cpython/3.10.4@ultimaker/stable
curaengine/5.7.0-alpha.0+f6a653@ultimaker/testing: WARN: Can't update, no package in remote
Version ranges solved
    translationextractor/*@ultimaker/stable versions found in 'cura' remote
    Version range '>=2.2.0' required by 'py_require' resolved to 'translationextractor/2.2.0@ultimaker/stable' in remote 'cura'
    Version range '>=2.1.2' required by 'py_require' resolved to 'translationextractor/2.2.0@ultimaker/stable' in remote 'cura'
    pyprojecttoolchain/*@ultimaker/stable versions found in 'cura' remote
    Version range '>=0.1.7' required by 'py_require' resolved to 'pyprojecttoolchain/0.1.7@ultimaker/stable' in remote 'cura'
    sipbuildtool/*@ultimaker/stable versions found in 'cura' remote
    Version range '>=0.2.4' required by 'py_require' resolved to 'sipbuildtool/0.2.4@ultimaker/stable' in remote 'cura'
    Version range '>=0.1.7' required by 'py_require' resolved to 'pyprojecttoolchain/0.1.7@ultimaker/stable' in remote 'cura'
    Version range '>=0.2.4' required by 'py_require' resolved to 'sipbuildtool/0.2.4@ultimaker/stable' in remote 'cura'
    Version range '>=0.1.7' required by 'py_require' resolved to 'pyprojecttoolchain/0.1.7@ultimaker/stable' in remote 'cura'
    Version range '>=0.2.4' required by 'py_require' resolved to 'sipbuildtool/0.2.4@ultimaker/stable' in remote 'cura'

conanfile.py (cura/5.7.0-alpha.0): Installing package
Requirements
    abseil/20230125.3 from 'cura' - Cache
    arcus/5.3.0 from 'cura' - Cache
    asio-grpc/2.6.0 from 'cura' - Cache
    boost/1.82.0 from 'cura' - Cache
    bzip2/1.0.8 from 'cura' - Cache
    c-ares/1.19.1 from 'cura' - Cache
    clipper/6.4.2 from 'cura' - Cache
    cpython/3.10.4@ultimaker/stable from 'cura' - Cache
    ctre/3.7.2 from 'cura' - Cache
    cura_binary_data/5.7.0-alpha.0+8be639@ultimaker/testing from 'cura' - Cache
    curaengine/5.7.0-alpha.0+f6a653@ultimaker/testing from 'cura' - Cache
    curaengine_grpc_definitions/0.2.0-alpha.0+c163ce@ultimaker/testing from 'cura' - Cache
    curaengine_plugin_gradual_flow/0.1.0-beta.2+a6672e@ultimaker/stable from 'cura' - Cache
    docopt.cpp/0.6.3 from 'cura' - Cache
    dulcificum/0.1.0-beta.2+23298d@ultimaker/testing from 'cura' - Cache
    expat/2.4.1 from 'cura' - Cache
    fdm_materials/5.7.0-alpha.0+ae870b@ultimaker/testing from 'cura' - Cache
    fmt/10.1.1 from 'cura' - Cache
    grpc/1.50.1 from 'cura' - Cache
    libffi/3.2.1 from 'cura' - Cache
    mpdecimal/2.5.0 from 'cura' - Cache
    neargye-semver/0.3.0 from 'cura' - Cache
    nest2d/5.3.0 from 'cura' - Cache
    nlohmann_json/3.11.2 from 'cura' - Cache
    nlopt/2.7.0 from 'cura' - Cache
    openssl/3.2.0 from 'cura' - Cache
    protobuf/3.21.9 from 'cura' - Cache
    pugixml/1.12.1 from 'cura' - Cache
    pyarcus/5.3.0 from 'cura' - Cache
    pybind11/2.10.4 from 'cura' - Cache
    pynest2d/5.3.0 from 'cura' - Cache
    pysavitar/5.3.0 from 'cura' - Cache
    range-v3/0.12.0 from 'cura' - Cache
    rapidjson/1.1.0 from 'cura' - Cache
    re2/20230301 from 'cura' - Cache
    savitar/5.3.0 from 'cura' - Cache
    scripta/0.1.0@ultimaker/testing from 'cura' - Cache
    spdlog/1.12.0 from 'cura' - Cache
    sqlite3/3.36.0 from 'cura' - Cache
    stb/20200203 from 'cura' - Cache
    tcl/8.6.10 from 'cura' - Cache
    tk/8.6.10 from 'cura' - Cache
    uranium/5.7.0-alpha.0+6c8c65@ultimaker/testing from 'cura' - Cache
    xz_utils/5.2.5 from 'cura' - Cache
    zlib/1.2.13 from 'cura' - Cache
Python requires
    translationextractor/2.2.0@ultimaker/stable
    sipbuildtool/0.2.4@ultimaker/stable
    pyprojecttoolchain/0.1.7@ultimaker/stable
Packages
    abseil/20230125.3:68905a6cf1c0eb4bead20ca87f663bdd27bc8c40 - Cache
    arcus/5.3.0:a79c761b81948647f6ae0d6ab17dd8a7504ad992 - Cache
    asio-grpc/2.6.0:bb6442aba7a6e403c16a912f65317abff8542491 - Cache
    boost/1.82.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    bzip2/1.0.8:53b5fd22ba061620078deefdae9a437c5f693201 - Cache
    c-ares/1.19.1:ae649a6c249eae49c84e4189dcc65c6e2d704859 - Cache
    clipper/6.4.2:a6d82b50d0da091cd19a082f292518ff1b7252ea - Cache
    cpython/3.10.4@ultimaker/stable:c4d147f2014dded40c02392443a406fea3df78e1 - Cache
    ctre/3.7.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    cura_binary_data/5.7.0-alpha.0+8be639@ultimaker/testing:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache
    curaengine/5.7.0-alpha.0+f6a653@ultimaker/testing:269d2b28f6e105207095d96eb2a920c4aee778a2 - Cache
    curaengine_grpc_definitions/0.2.0-alpha.0+c163ce@ultimaker/testing:e0a85c551fefa771586255eaf40cbf41580a0ebd - Cache
    curaengine_plugin_gradual_flow/0.1.0-beta.2+a6672e@ultimaker/stable:247fd8db65acb8ebe5a268ee8de418f749adc839 - Cache
    docopt.cpp/0.6.3:68905a6cf1c0eb4bead20ca87f663bdd27bc8c40 - Cache
    dulcificum/0.1.0-beta.2+23298d@ultimaker/testing:3b7962b454aecf41ee5e9794ec59588cd702307a - Cache
    expat/2.4.1:8e589e066a19f700666be77ed94ff8e8bc88ee10 - Cache
    fdm_materials/5.7.0-alpha.0+ae870b@ultimaker/testing:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    fmt/10.1.1:b4e2bc17a9dd604e8c03a12fd8642f5b9fbb34d5 - Cache
    grpc/1.50.1:062a1eb653afe8147bba351282183b5f30878288 - Cache
    libffi/3.2.1:5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b - Cache
    mpdecimal/2.5.0:5c8fc3ef602a8e57d81400f2865131af6a719c3d - Cache
    neargye-semver/0.3.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    nest2d/5.3.0:cbc69d8cf52bda9e58f02548ae94b21969ff001b - Cache
    nlohmann_json/3.11.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    nlopt/2.7.0:dca97d52f12f2bbe316aa4b1e2734ba69c011723 - Cache
    openssl/3.2.0:9423658c7c01fb5f0794452a92fa455f47c73252 - Cache
    protobuf/3.21.9:64f8804357a17a718bbaefbde0f1778072d2021a - Cache
    pugixml/1.12.1:68905a6cf1c0eb4bead20ca87f663bdd27bc8c40 - Cache
    pyarcus/5.3.0:5a969d8da35ff66599ab12ae4f0f24afb0b7a8ea - Cache
    pybind11/2.10.4:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    pynest2d/5.3.0:e16e32c3d26c6ebc5090d8f2fda90b0b47c1ae06 - Cache
    pysavitar/5.3.0:4253ffd7dc7fbd9c2cf126baff649752eea7f8d9 - Cache
    range-v3/0.12.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    rapidjson/1.1.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    re2/20230301:68905a6cf1c0eb4bead20ca87f663bdd27bc8c40 - Cache
    savitar/5.3.0:91efcaa01958629c2c2c0f4e35bb7d85282624d5 - Cache
    scripta/0.1.0@ultimaker/testing:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    spdlog/1.12.0:c29528171102081f43c760cec856284824c185c8 - Cache
    sqlite3/3.36.0:d4c90a44e87a0129d6c89e58d1337c25a5bec2b4 - Cache
    stb/20200203:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    tcl/8.6.10:3c9fc906294c5568e1c0ae414493e48d40f339d9 - Cache
    tk/8.6.10:9f3ab64cd38fbb0fdc9a06a1af0eee429ec460f1 - Cache
    uranium/5.7.0-alpha.0+6c8c65@ultimaker/testing:e541e632dd3ca870d37dab822cdf6eaa3df15dca - Cache
    xz_utils/5.2.5:5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b - Cache
    zlib/1.2.13:5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b - Cache

Installing (downloading, building) binaries...
abseil/20230125.3: Already installed!
boost/1.82.0: Already installed!
bzip2/1.0.8: Already installed!
c-ares/1.19.1: Already installed!
clipper/6.4.2: Already installed!
ctre/3.7.2: Already installed!
cura_binary_data/5.7.0-alpha.0+8be639@ultimaker/testing: Already installed!
docopt.cpp/0.6.3: Already installed!
expat/2.4.1: Already installed!
fdm_materials/5.7.0-alpha.0+ae870b@ultimaker/testing: Already installed!
fmt/10.1.1: Already installed!
libffi/3.2.1: Already installed!
mpdecimal/2.5.0: Already installed!
neargye-semver/0.3.0: Already installed!
nlohmann_json/3.11.2: Already installed!
nlopt/2.7.0: Already installed!
pugixml/1.12.1: Already installed!
pybind11/2.10.4: Already installed!
range-v3/0.12.0: Already installed!
rapidjson/1.1.0: Already installed!
re2/20230301: Already installed!
scripta/0.1.0@ultimaker/testing: Already installed!
sqlite3/3.36.0: Already installed!
stb/20200203: Already installed!
xz_utils/5.2.5: Already installed!
zlib/1.2.13: Already installed!
nest2d/5.3.0: Already installed!
openssl/3.2.0: Already installed!
protobuf/3.21.9: Already installed!
savitar/5.3.0: Already installed!
spdlog/1.12.0: Already installed!
tcl/8.6.10: Already installed!
arcus/5.3.0: Already installed!
grpc/1.50.1: Already installed!
grpc/1.50.1: Appending PATH environment variable: C:\.conan\31a67a\1\bin
tk/8.6.10: Already installed!
tk/8.6.10: Setting TK_LIBRARY environment variable: C:/.conan/b8fb30/1/lib/tk8.6
tk/8.6.10: Setting TK_ROOT environment variable: C:/.conan/b8fb30/1
asio-grpc/2.6.0: Already installed!
cpython/3.10.4@ultimaker/stable: Already installed!
cpython/3.10.4@ultimaker/stable: Appending PATH environment variable: C:\.conan\079831\1\bin
cpython/3.10.4@ultimaker/stable: Setting PYTHON environment variable: C:\.conan\079831\1\bin\python.exe
cpython/3.10.4@ultimaker/stable: Setting PYTHONHOME environment variable: C:\.conan\079831\1\bin
cpython/3.10.4@ultimaker/stable: Setting PYTHON_ROOT environment variable: C:\.conan\079831\1
curaengine_grpc_definitions/0.2.0-alpha.0+c163ce@ultimaker/testing: Already installed!
dulcificum/0.1.0-beta.2+23298d@ultimaker/testing: Already installed!
pyarcus/5.3.0: Already installed!
pynest2d/5.3.0: Already installed!
pysavitar/5.3.0: Already installed!
curaengine/5.7.0-alpha.0+f6a653@ultimaker/testing: Already installed!
curaengine_plugin_gradual_flow/0.1.0-beta.2+a6672e@ultimaker/stable: Already installed!
uranium/5.7.0-alpha.0+6c8c65@ultimaker/testing: Already installed!
conanfile.py (cura/5.7.0-alpha.0): Generator txt created conanbuildinfo.txt
conanfile.py (cura/5.7.0-alpha.0): Generator 'MSBuildDeps' calling 'generate()'
Creating virtual environment in D:\Cura\Cura
Creating virtual environment in D:\Cura\Cura\venv
conanfile.py (cura/5.7.0-alpha.0): Creating virtual environment in D:\Cura\Cura\venv

----Running------
> C:\.conan\079831\1\bin\python.exe -m venv D:\Cura\Cura\venv
-----------------

----Running------
> D:\Cura\Cura\venv\Scripts\python.exe -m pip install wheel setuptools
-----------------
Collecting wheel
  Using cached wheel-0.42.0-py3-none-any.whl (65 kB)
Requirement already satisfied: setuptools in d:\cura\cura\venv\lib\site-packages (58.1.0)
Installing collected packages: wheel
Successfully installed wheel-0.42.0
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'D:\Cura\Cura\venv\Scripts\python.exe -m pip install --upgrade pip' command.

----Running------
> D:\Cura\Cura\venv\Scripts\python.exe -m pip install -r C:\.conan\e0914b\1\pip_requirements\requirements.txt --upgrade
-----------------
Collecting numpy==1.21.5+mkl
  Using cached https://software.ultimaker.com/cura-binary-dependencies/numpy-1.21.5+mkl-cp310-cp310-win_amd64.whl (255.4 MB)
Ignoring numpy: markers 'sys_platform != "win32"' don't match your environment
Collecting PyQt6==6.6.0
  Using cached PyQt6-6.6.0-cp37-abi3-win_amd64.whl (6.5 MB)
Collecting colorlog==6.6.0
  Using cached colorlog-6.6.0-py2.py3-none-any.whl (11 kB)
Collecting cryptography==41.0.1
  Using cached cryptography-41.0.1-cp37-abi3-win_amd64.whl (2.6 MB)
Collecting pyclipper==1.3.0.post3
  Using cached pyclipper-1.3.0.post3-cp310-cp310-win_amd64.whl (94 kB)
Collecting scipy==1.9.1
  Using cached scipy-1.9.1-cp310-cp310-win_amd64.whl (38.6 MB)
Collecting numpy-stl==2.10.1
  Using cached numpy-stl-2.10.1.tar.gz (483 kB)
  Preparing metadata (setup.py) ... done
Collecting mypy==0.931
  Using cached mypy-0.931-cp310-cp310-win_amd64.whl (8.3 MB)
Collecting cffi==1.15.0
  Using cached cffi-1.15.0-cp310-cp310-win_amd64.whl (180 kB)
Collecting networkx==2.6.2
  Using cached networkx-2.6.2-py3-none-any.whl (1.9 MB)
Collecting pycparser==2.20
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting PyQt6-Qt6==6.6.0
  Using cached PyQt6_Qt6-6.6.0-py3-none-win_amd64.whl (62.1 MB)
Collecting PyQt6-sip==13.6.0
  Using cached PyQt6_sip-13.6.0-cp310-cp310-win_amd64.whl (72 kB)
Collecting python-utils==2.3.0
  Using cached python_utils-2.3.0-py2.py3-none-any.whl (12 kB)
Collecting mypy-extensions==0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tomli==2.0.1
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting typing-extensions==4.3.0
  Using cached typing_extensions-4.3.0-py3-none-any.whl (25 kB)
Collecting colorama==0.4.5
  Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB)
Building wheels for collected packages: numpy-stl
  Building wheel for numpy-stl (setup.py) ... done
  Created wheel for numpy-stl: filename=numpy_stl-2.10.1-py3-none-any.whl size=17540 sha256=bd554a8a558c449184d2e0f0581221af939c80bbf6dd7dd6eec608222e38934d
  Stored in directory: c:\users\panaceya\appdata\local\pip\cache\wheels\db\4e\32\c4d95f1c98abe5978fd7c549f6391e4bd649012e8b240de717
Successfully built numpy-stl
Installing collected packages: PyQt6-Qt6, pyclipper, mypy-extensions, typing-extensions, tomli, six, PyQt6-sip, pycparser, numpy, networkx, colorama, scipy, python-utils, PyQt6, mypy, colorlog, cffi, numpy-stl, cryptography
Successfully installed PyQt6-6.6.0 PyQt6-Qt6-6.6.0 PyQt6-sip-13.6.0 cffi-1.15.0 colorama-0.4.5 colorlog-6.6.0 cryptography-41.0.1 mypy-0.931 mypy-extensions-0.4.3 networkx-2.6.2 numpy-1.21.5+mkl numpy-stl-2.10.1 pyclipper-1.3.0.post3 pycparser-2.20 python-utils-2.3.0 scipy-1.9.1 six-1.16.0 tomli-2.0.1 typing-extensions-4.3.0
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'D:\Cura\Cura\venv\Scripts\python.exe -m pip install --upgrade pip' command.
conanfile.py (cura/5.7.0-alpha.0): Dependency uranium specifies pip_requirements in user_info installed!

----Running------
> D:\Cura\Cura\venv\Scripts\python.exe -m pip install -r C:\.conan\e0914b\1\pip_requirements\requirements-dev.txt --upgrade
-----------------
Collecting pytest
  Using cached pytest-7.4.3-py3-none-any.whl (325 kB)
Collecting twisted
  Using cached twisted-23.10.0-py3-none-any.whl (3.2 MB)
Collecting pytest-benchmark
  Using cached pytest_benchmark-4.0.0-py3-none-any.whl (43 kB)
Collecting sip==6.5.1
  Using cached sip-6.5.1-cp36-abi3-win_amd64.whl (521 kB)
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: setuptools in d:\cura\cura\venv\lib\site-packages (from sip==6.5.1->-r C:\.conan\e0914b\1\pip_requirements\requirements-dev.txt (line 4)) (58.1.0)
Collecting packaging
  Using cached packaging-23.2-py3-none-any.whl (53 kB)
Collecting iniconfig
  Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting pluggy<2.0,>=0.12
  Using cached pluggy-1.3.0-py3-none-any.whl (18 kB)
Requirement already satisfied: tomli>=1.0.0 in d:\cura\cura\venv\lib\site-packages (from pytest->-r C:\.conan\e0914b\1\pip_requirements\requirements-dev.txt (line 1)) (2.0.1)
Collecting exceptiongroup>=1.0.0rc8
  Using cached exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Requirement already satisfied: colorama in d:\cura\cura\venv\lib\site-packages (from pytest->-r C:\.conan\e0914b\1\pip_requirements\requirements-dev.txt (line 1)) (0.4.5)
Collecting zope-interface>=5
  Using cached zope.interface-6.1-cp310-cp310-win_amd64.whl (204 kB)
Requirement already satisfied: typing-extensions>=4.2.0 in d:\cura\cura\venv\lib\site-packages (from twisted->-r C:\.conan\e0914b\1\pip_requirements\requirements-dev.txt (line 2)) (4.3.0)
Collecting automat>=0.8.0
  Using cached Automat-22.10.0-py2.py3-none-any.whl (26 kB)
Collecting attrs>=21.3.0
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting incremental>=22.10.0
  Using cached incremental-22.10.0-py2.py3-none-any.whl (16 kB)
Collecting twisted-iocpsupport<2,>=1.0.2
  Using cached twisted_iocpsupport-1.0.4-cp310-cp310-win_amd64.whl (46 kB)
Collecting constantly>=15.1
  Using cached constantly-23.10.4-py3-none-any.whl (13 kB)
Collecting hyperlink>=17.1.1
  Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
Collecting py-cpuinfo
  Using cached py_cpuinfo-9.0.0-py3-none-any.whl (22 kB)
Requirement already satisfied: six in d:\cura\cura\venv\lib\site-packages (from automat>=0.8.0->twisted->-r C:\.conan\e0914b\1\pip_requirements\requirements-dev.txt (line 2)) (1.16.0)
Collecting idna>=2.5
  Using cached idna-3.6-py3-none-any.whl (61 kB)
Installing collected packages: twisted-iocpsupport, py-cpuinfo, incremental, zope-interface, toml, pluggy, packaging, iniconfig, idna, exceptiongroup, constantly, attrs, sip, pytest, hyperlink, automat, twisted, pytest-benchmark
Successfully installed attrs-23.1.0 automat-22.10.0 constantly-23.10.4 exceptiongroup-1.2.0 hyperlink-21.0.0 idna-3.6 incremental-22.10.0 iniconfig-2.0.0 packaging-23.2 pluggy-1.3.0 py-cpuinfo-9.0.0 pytest-7.4.3 pytest-benchmark-4.0.0 sip-6.5.1 toml-0.10.2 twisted-23.10.0 twisted-iocpsupport-1.0.4 zope-interface-6.1
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'D:\Cura\Cura\venv\Scripts\python.exe -m pip install --upgrade pip' command.
conanfile.py (cura/5.7.0-alpha.0): Dependency uranium specifies pip_requirements_build in user_info installed!

----Running------
> D:\Cura\Cura\venv\Scripts\python.exe -m pip install -r D:\Cura\Cura\requirements.txt --upgrade
-----------------
Collecting numpy==1.21.5+mkl
  Using cached https://software.ultimaker.com/cura-binary-dependencies/numpy-1.21.5+mkl-cp310-cp310-win_amd64.whl (255.4 MB)
Ignoring numpy: markers 'sys_platform != "win32"' don't match your environment
Requirement already satisfied: PyQt6-sip==13.6.0 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 2)) (13.6.0)
Requirement already satisfied: PyQt6==6.6.0 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 24)) (6.6.0)
Requirement already satisfied: PyQt6-Qt6==6.6.0 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 29)) (6.6.0)
Collecting PyQt6-NetworkAuth==6.6.0
  Using cached PyQt6_NetworkAuth-6.6.0-cp37-abi3-win_amd64.whl (74 kB)
Collecting PyQt6-NetworkAuth-Qt6==6.6.0
  Using cached PyQt6_NetworkAuth_Qt6-6.6.0-py3-none-win_amd64.whl (111 kB)
Collecting certifi==2023.5.7
  Using cached certifi-2023.5.7-py3-none-any.whl (156 kB)
Requirement already satisfied: cryptography==41.0.1 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 47)) (41.0.1)
Collecting zeroconf==0.31.0
  Using cached zeroconf-0.31.0-py3-none-any.whl (59 kB)
Collecting importlib-metadata==4.10.0
  Using cached importlib_metadata-4.10.0-py3-none-any.whl (17 kB)
Collecting keyring==23.0.1
  Using cached keyring-23.0.1-py3-none-any.whl (33 kB)
Requirement already satisfied: pyclipper==1.3.0.post3 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 114)) (1.3.0.post3)
Requirement already satisfied: scipy==1.9.1 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 147)) (1.9.1)
Collecting trimesh==3.9.36
  Using cached trimesh-3.9.36-py3-none-any.whl (639 kB)
Collecting sentry-sdk==0.13.5
  Using cached sentry_sdk-0.13.5-py2.py3-none-any.whl (91 kB)
Requirement already satisfied: mypy==0.931 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 177)) (0.931)
Collecting pyserial==3.4
  Using cached pyserial-3.4-py2.py3-none-any.whl (193 kB)
Collecting chardet==3.0.4
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna==2.8
  Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
Collecting attrs==21.2.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting requests==2.22.0
  Using cached requests-2.22.0-py2.py3-none-any.whl (57 kB)
Collecting Twisted==21.2.0
  Using cached Twisted-21.2.0-py3-none-any.whl (3.1 MB)
Collecting constantly==15.1.0
  Using cached constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
Requirement already satisfied: hyperlink==21.0.0 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 222)) (21.0.0)
Collecting incremental==21.3.0
  Using cached incremental-21.3.0-py2.py3-none-any.whl (15 kB)
Collecting zope.interface==5.4.0
  Using cached zope.interface-5.4.0.tar.gz (249 kB)
  Preparing metadata (setup.py) ... done
Collecting Automat==20.2.0
  Using cached Automat-20.2.0-py2.py3-none-any.whl (31 kB)
Collecting twisted-iocpsupport==1.0.2
  Using cached twisted_iocpsupport-1.0.2-cp310-cp310-win_amd64.whl (45 kB)
Requirement already satisfied: numpy-stl==2.10.1 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 252)) (2.10.1)
Requirement already satisfied: python-utils==2.3.0 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 254)) (2.3.0)
Collecting six==1.12.0
  Using cached six-1.12.0-py2.py3-none-any.whl (10 kB)
Collecting shapely==2.0.1
  Using cached shapely-2.0.1-cp310-cp310-win_amd64.whl (1.4 MB)
Collecting cython==0.29.26
  Using cached Cython-0.29.26-py2.py3-none-any.whl (983 kB)
Collecting pybind11==2.6.2
  Using cached pybind11-2.6.2-py2.py3-none-any.whl (191 kB)
Collecting wheel==0.37.1
  Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting setuptools==62.0.0
  Using cached setuptools-62.0.0-py3-none-any.whl (1.1 MB)
Collecting ifaddr==0.1.7
  Using cached ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: pycparser==2.20 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 318)) (2.20)
Collecting zipp==3.5.0
  Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Requirement already satisfied: cffi==1.15.0 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 324)) (1.15.0)
Collecting urllib3==1.25.9
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Requirement already satisfied: mypy-extensions==0.4.3 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 378)) (0.4.3)
Requirement already satisfied: tomli==2.0.1 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 381)) (2.0.1)
Collecting typing-extensions==3.10.0.2
  Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting jeepney==0.7.1
  Using cached jeepney-0.7.1-py3-none-any.whl (54 kB)
Collecting SecretStorage==3.3.3
  Using cached SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Requirement already satisfied: networkx==2.6.2 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements.txt (line 396)) (2.6.2)
Collecting pywin32==303
  Using cached pywin32-303-cp310-cp310-win_amd64.whl (9.2 MB)
Collecting pywin32-ctypes==0.2.0
  Using cached pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Collecting charset-normalizer==2.1.0
  Using cached charset_normalizer-2.1.0-py3-none-any.whl (39 kB)
Building wheels for collected packages: zope.interface
  Building wheel for zope.interface (setup.py) ... done
  Created wheel for zope.interface: filename=zope.interface-5.4.0-cp310-cp310-win_amd64.whl size=211362 sha256=618f9cdbe61f2bb3bb61821589504e2edb8d658159bf556b9043b675043b57fd
  Stored in directory: c:\users\panaceya\appdata\local\pip\cache\wheels\21\a9\8b\0bfc5594d8e109d5b25d6b69e0cff14d09d93e3522dcb16d2b
Successfully built zope.interface
Installing collected packages: typing-extensions, twisted-iocpsupport, pywin32-ctypes, pywin32, pyserial, PyQt6-NetworkAuth-Qt6, incremental, ifaddr, constantly, chardet, zipp, zeroconf, wheel, urllib3, six, setuptools, pybind11, jeepney, idna, cython, charset-normalizer, certifi, attrs, zope.interface, trimesh, shapely, sentry-sdk, requests, PyQt6-NetworkAuth, importlib-metadata, Automat, Twisted, SecretStorage, keyring
  Attempting uninstall: typing-extensions
    Found existing installation: typing_extensions 4.3.0
    Uninstalling typing_extensions-4.3.0:
      Successfully uninstalled typing_extensions-4.3.0
  Attempting uninstall: twisted-iocpsupport
    Found existing installation: twisted-iocpsupport 1.0.4
    Uninstalling twisted-iocpsupport-1.0.4:
      Successfully uninstalled twisted-iocpsupport-1.0.4
  Attempting uninstall: incremental
    Found existing installation: incremental 22.10.0
    Uninstalling incremental-22.10.0:
      Successfully uninstalled incremental-22.10.0
  Attempting uninstall: constantly
    Found existing installation: constantly 23.10.4
    Uninstalling constantly-23.10.4:
      Successfully uninstalled constantly-23.10.4
  Attempting uninstall: wheel
    Found existing installation: wheel 0.42.0
    Uninstalling wheel-0.42.0:
      Successfully uninstalled wheel-0.42.0
  Attempting uninstall: six
    Found existing installation: six 1.16.0
    Uninstalling six-1.16.0:
      Successfully uninstalled six-1.16.0
  Attempting uninstall: setuptools
    Found existing installation: setuptools 58.1.0
    Uninstalling setuptools-58.1.0:
      Successfully uninstalled setuptools-58.1.0
  Attempting uninstall: idna
    Found existing installation: idna 3.6
    Uninstalling idna-3.6:
      Successfully uninstalled idna-3.6
  Attempting uninstall: attrs
    Found existing installation: attrs 23.1.0
    Uninstalling attrs-23.1.0:
      Successfully uninstalled attrs-23.1.0
  Attempting uninstall: zope.interface
    Found existing installation: zope.interface 6.1
    Uninstalling zope.interface-6.1:
      Successfully uninstalled zope.interface-6.1
  Attempting uninstall: Automat
    Found existing installation: Automat 22.10.0
    Uninstalling Automat-22.10.0:
      Successfully uninstalled Automat-22.10.0
  Attempting uninstall: Twisted
    Found existing installation: Twisted 23.10.0
    Uninstalling Twisted-23.10.0:
      Successfully uninstalled Twisted-23.10.0
Successfully installed Automat-20.2.0 PyQt6-NetworkAuth-6.6.0 PyQt6-NetworkAuth-Qt6-6.6.0 SecretStorage-3.3.3 Twisted-21.2.0 attrs-21.2.0 certifi-2023.5.7 chardet-3.0.4 charset-normalizer-2.1.0 constantly-15.1.0 cython-0.29.26 idna-2.8 ifaddr-0.1.7 importlib-metadata-4.10.0 incremental-21.3.0 jeepney-0.7.1 keyring-23.0.1 pybind11-2.6.2 pyserial-3.4 pywin32-303 pywin32-ctypes-0.2.0 requests-2.22.0 sentry-sdk-0.13.5 setuptools-62.0.0 shapely-2.0.1 six-1.12.0 trimesh-3.9.36 twisted-iocpsupport-1.0.2 typing-extensions-3.10.0.2 urllib3-1.25.9 wheel-0.37.1 zeroconf-0.31.0 zipp-3.5.0 zope.interface-5.4.0
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'D:\Cura\Cura\venv\Scripts\python.exe -m pip install --upgrade pip' command.
conanfile.py (cura/5.7.0-alpha.0): Requirements file D:\Cura\Cura\requirements.txt installed!

----Running------
> D:\Cura\Cura\venv\Scripts\python.exe -m pip install -r D:\Cura\Cura\requirements-ultimaker.txt --upgrade
-----------------
Collecting charon
  Cloning https://github.com/ultimaker/libcharon (to revision master/s-line) to c:\users\panaceya\appdata\local\temp\pip-install-d8jrx5ir\charon_29adeeca95fb4c5f9e2f4f94b8850430
  Running command git clone --filter=blob:none --quiet https://github.com/ultimaker/libcharon 'C:\Users\Panaceya\AppData\Local\Temp\pip-install-d8jrx5ir\charon_29adeeca95fb4c5f9e2f4f94b8850430'
  Resolved https://github.com/ultimaker/libcharon to commit f48ba516b3326f11057e58534737e9ba29b783ca
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: charon
  Building wheel for charon (setup.py) ... done
  Created wheel for charon: filename=Charon-1.0-py3-none-any.whl size=34354 sha256=2ce04e74f35e9f8fe65f38f415075e5d4af8d1fb5de92c3c570127a80885a50c
  Stored in directory: C:\Users\Panaceya\AppData\Local\Temp\pip-ephem-wheel-cache-9dartzcy\wheels\a1\ba\ff\b203f3f95081c28be08de10e2d212fe77e87b4d9f7383d6622
Successfully built charon
Installing collected packages: charon
Successfully installed charon-1.0
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'D:\Cura\Cura\venv\Scripts\python.exe -m pip install --upgrade pip' command.
conanfile.py (cura/5.7.0-alpha.0): Requirements file D:\Cura\Cura\requirements-ultimaker.txt installed!

----Running------
> D:\Cura\Cura\venv\Scripts\python.exe -m pip install -r D:\Cura\Cura\requirements-dev.txt --upgrade
-----------------
Requirement already satisfied: pytest in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements-dev.txt (line 1)) (7.4.3)
Collecting pyinstaller==5.8.0
  Using cached pyinstaller-5.8.0-py3-none-win_amd64.whl (1.3 MB)
Collecting pyinstaller-hooks-contrib
  Using cached pyinstaller_hooks_contrib-2023.11-py2.py3-none-any.whl (294 kB)
Collecting pyyaml
  Using cached PyYAML-6.0.1-cp310-cp310-win_amd64.whl (145 kB)
Requirement already satisfied: sip==6.5.1 in d:\cura\cura\venv\lib\site-packages (from -r D:\Cura\Cura\requirements-dev.txt (line 5)) (6.5.1)
Collecting jinja2
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Requirement already satisfied: setuptools>=42.0.0 in d:\cura\cura\venv\lib\site-packages (from pyinstaller==5.8.0->-r D:\Cura\Cura\requirements-dev.txt (line 2)) (62.0.0)
Collecting pefile>=2022.5.30
  Using cached pefile-2023.2.7-py3-none-any.whl (71 kB)
Collecting altgraph
  Using cached altgraph-0.17.4-py2.py3-none-any.whl (21 kB)
Requirement already satisfied: pywin32-ctypes>=0.2.0 in d:\cura\cura\venv\lib\site-packages (from pyinstaller==5.8.0->-r D:\Cura\Cura\requirements-dev.txt (line 2)) (0.2.0)
Requirement already satisfied: toml in d:\cura\cura\venv\lib\site-packages (from sip==6.5.1->-r D:\Cura\Cura\requirements-dev.txt (line 5)) (0.10.2)
Requirement already satisfied: packaging in d:\cura\cura\venv\lib\site-packages (from sip==6.5.1->-r D:\Cura\Cura\requirements-dev.txt (line 5)) (23.2)
Requirement already satisfied: iniconfig in d:\cura\cura\venv\lib\site-packages (from pytest->-r D:\Cura\Cura\requirements-dev.txt (line 1)) (2.0.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in d:\cura\cura\venv\lib\site-packages (from pytest->-r D:\Cura\Cura\requirements-dev.txt (line 1)) (1.2.0)
Requirement already satisfied: pluggy<2.0,>=0.12 in d:\cura\cura\venv\lib\site-packages (from pytest->-r D:\Cura\Cura\requirements-dev.txt (line 1)) (1.3.0)
Requirement already satisfied: colorama in d:\cura\cura\venv\lib\site-packages (from pytest->-r D:\Cura\Cura\requirements-dev.txt (line 1)) (0.4.5)
Requirement already satisfied: tomli>=1.0.0 in d:\cura\cura\venv\lib\site-packages (from pytest->-r D:\Cura\Cura\requirements-dev.txt (line 1)) (2.0.1)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl (17 kB)
Installing collected packages: altgraph, pyyaml, pyinstaller-hooks-contrib, pefile, MarkupSafe, pyinstaller, jinja2
Successfully installed MarkupSafe-2.1.3 altgraph-0.17.4 jinja2-3.1.2 pefile-2023.2.7 pyinstaller-5.8.0 pyinstaller-hooks-contrib-2023.11 pyyaml-6.0.1
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'D:\Cura\Cura\venv\Scripts\python.exe -m pip install --upgrade pip' command.
conanfile.py (cura/5.7.0-alpha.0): Requirements file D:\Cura\Cura\requirements-dev.txt installed!
conanfile.py (cura/5.7.0-alpha.0): Generator VirtualPythonEnv created D:\Cura\Cura\venv\Scripts\activate_github_actions_env.ps1
conanfile.py (cura/5.7.0-alpha.0): Calling generate()
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.py' file: cura_app.py
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.exe' file: CuraEngine.exe
conanfile.py (cura/5.7.0-alpha.0): Copied 4 '.json' files: bundled_CuraEngineGradualFlow.json, gradual_flow_settings.def.json, package.json, plugin.json
conanfile.py (cura/5.7.0-alpha.0): Copied 3 '.py' files: constants.py, GradualFlowPlugin.py, __init__.py
conanfile.py (cura/5.7.0-alpha.0): Copied 4 files: .gitignore, .gitignore, .gitignore, .gitignore
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.exe' file: curaengine_plugin_gradual_flow.exe
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.json' file: bundled_CuraEngineGradualFlow.json
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.pyd' file: pyDulcificum.cp310-win_amd64.pyd
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.pyd' file: pyArcus.pyd
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.pyi' file: pyArcus.pyi
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.pyd' file: pySavitar.pyd
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.pyi' file: pySavitar.pyi
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.pyd' file: pynest2d.pyd
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.pyi' file: pynest2d.pyi
conanfile.py (cura/5.7.0-alpha.0): Copied 2 '.dll' files: python3.dll, python310.dll
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.dll' file: Arcus.dll
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.dll' file: polyclipping.dll
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.dll' file: Savitar.dll
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.dll' file: nest2d.dll
conanfile.py (cura/5.7.0-alpha.0): Copied 1 '.dll' file: nlopt.dll
conanfile.py (cura/5.7.0-alpha.0): Copied 258 '.fdm_material' files
conanfile.py (cura/5.7.0-alpha.0): Aggregating env generators
conanfile.py (cura/5.7.0-alpha.0): Generated conaninfo.txt
conanfile.py (cura/5.7.0-alpha.0): Generated graphinfo

next .\venv\Scripts\activate.ps1 then run Cura python cura_app.py:

Error in sys.excepthook:
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\Cura\Cura\cura\CuraApplication.py", line 58, in <module>
    from cura.Arranging.ArrangeObjectsJob import ArrangeObjectsJob
  File "D:\Cura\Cura\cura\Arranging\ArrangeObjectsJob.py", line 12, in <module>
    from cura.Arranging.Nest2DArrange import Nest2DArrange
  File "D:\Cura\Cura\cura\Arranging\Nest2DArrange.py", line 5, in <module>
    from pynest2d import Point, Box, Item, NfpConfig, nest
ImportError: DLL load failed while importing pynest2d: The specified module could not be found.

Original exception was:
Traceback (most recent call last):
  File "D:\Cura\Cura\cura_app.py", line 193, in <module>
    from cura.CuraApplication import CuraApplication
  File "D:\Cura\Cura\cura\CuraApplication.py", line 58, in <module>
    from cura.Arranging.ArrangeObjectsJob import ArrangeObjectsJob
  File "D:\Cura\Cura\cura\Arranging\ArrangeObjectsJob.py", line 12, in <module>
    from cura.Arranging.Nest2DArrange import Nest2DArrange
  File "D:\Cura\Cura\cura\Arranging\Nest2DArrange.py", line 5, in <module>
    from pynest2d import Point, Box, Item, NfpConfig, nest
ImportError: DLL load failed while importing pynest2d: The specified module could not be found.

Expected results

Runned cura application

Add your .zip and screenshots here ⬇️

зображення

M4kI9H7 commented 8 months ago

This can happen if your PYTHONPATH environment variable does not contain path to your python executable. Check your $env:PYTHONPATH variable, it should look like:

# This sets the variable to the run venv python
PS C:\Users\username\Project_Path\cura> $env:PYTHONPATH = 'C:\Users\username\Project_Path\Cura\venv\Scripts' 
# activate.ps1 will try to get current PYTHONPATH, and append it with .\venv\Lib\site-packages and conan packages
# but it will not confirm if the existing PYTHONPATH has a valid python executable
PS C:\Users\username\Project_Path\cura> .\venv\Scripts\activate.ps1                                                               
PS C:\Users\username\Project_Path\cura> echo $env:PYTHONPATH                                                                      
C:\Users\username\Project_Path\Cura\venv\Lib\site-packages;C:\Users\username\Project_Path\Cura\venv\Scripts;C:\.conan\5efcb6\1\lib;C:\.conan\a52537\1\lib;C:\.conan\c8a833\1\lib;C:\.conan\a53bfc\1\lib\pyDulcificum;C:\.conan\f3646c\1\site-packages;C:\.conan\f3646c\1\plugins