Open panaceya opened 9 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
Cura Version
cura/5.7.0-alpha.0 (from master)
Operating System
Windows 10
Printer
-
Reproduction steps
Actual results
dir D:\cura
:conan install . --build=missing --update -o cura:devtools=True -g VirtualPythonEnv
:next
.\venv\Scripts\activate.ps1
then run Curapython cura_app.py
:Expected results
Runned cura application
Add your .zip and screenshots here ⬇️