Closed ChunkyPanda03 closed 1 month ago
was looking yesterday is the only way that you want freecad installed with is mamba?
Hi @ChunkyPanda03, thanks for reporting the issue. Indeed installing FreeCAD with mamba is the easiest way to make it work since we need to call FreeCAD's python API. If you install FreeCAD from Debian, you need to make sure that you can import its Python API from your Python environment.
There is the freecadcmd that is installed from apt but is it possible to expose the api through the appimage instead? I have not tried mamba however I am not opposed to doing it. I also see that the latest version of freecad (21.2 as of writing this) is offered I will attempt to install using mamba.
However I must ask because I did symbolically link the freecad commands "freecad" and "freecadcmd" to the venv bin as well as ran it outside of the the venv, what is the version of freecad required to run this?
We don't use the Freecad command but its Python APIs, you may need to set up some environment variables so that JupyterCAD can import the Freecad module. This blog https://pythoncvc.net/?p=869 may help you.
Closing as answered!
Thank your for opening the ticket.
Opening .FCStd files are completely broken, I have installed all versions of the the jupytercad stuff and none are able to run .FCStd files. I would try your jupyter server however your server either doesn't have it set up or is broken as well.
My current setup is a headless debian server with jupyter notebook running in a venv.
how to reproduce: pip install jupytercad jupytercad_app jupytercad_core jupytercad_freecad jupytercad_lab this yeilds
jupytercad_freecad is always one version behind don't know if that matters... however I do have freecad installed from the debain apt repo so it is a bit older.
I have tried with and without venv but freecad functionality is totally borked, unless there is something wrong with what I am doing something wrong please label that freecad functionality as broken. A possible solution is to have it automatically grab and run a freecad appimage if I currently have a version issue.
hours wasted 4