FreeCAD and Raspberry Pi 4
Re: FreeCAD and Raspberry Pi 4
Hi all,
I finally get my FreeCAD 0.18.3 running on Raspi 4.
When I try to open scenario "Part Design" comes an error message: "No module named PartDesignGui". All the others work.
Is there a way to include it?
Thanks in advance.
Toni Gil.
I finally get my FreeCAD 0.18.3 running on Raspi 4.
When I try to open scenario "Part Design" comes an error message: "No module named PartDesignGui". All the others work.
Is there a way to include it?
Thanks in advance.
Toni Gil.
Re: FreeCAD and Raspberry Pi 4
When FreeCAD is running then activate its Python console if not yet active via View -> Panels -> Python console
Then enter
You should see an error message now with some more details about its failure.
Then enter
Code: Select all
import PartDesignGui
Re: FreeCAD and Raspberry Pi 4
This is the error, I paste all info at Python Console:wmayer wrote: ↑Thu Dec 12, 2019 11:53 am When FreeCAD is running then activate its Python console if not yet active via View -> Panels -> Python console
Then enterYou should see an error message now with some more details about its failure.Code: Select all
import PartDesignGui
Python 2.7.16 (default, Apr 6 2019, 01:42:57)
[GCC 8.2.0] on linux2
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import PartDesignGui
Traceback (most recent call last):
File "<input>", line 1, in <module>
ImportError: No module named PartDesignGui
>>>
Re: FreeCAD and Raspberry Pi 4
When you look at the build directory then is there no file PartDesignGui.so? What about the file _PartDesign.so?
Re: FreeCAD and Raspberry Pi 4
Yes, I found the second one "_PartDesign.so"
Re: FreeCAD and Raspberry Pi 4
And PartDesignGui.so? Is it there or not? If not you should open a terminal and cd to your build directory. Enter make PartDesignGui
Re: FreeCAD and Raspberry Pi 4
I understand this part of the conversation is not for this forun (since FreeCad was installed). Maybe it should be for a "Basic Linux knowledge" forum so thank you very much for your help.
It worked to make the modul and I could import in Python console on FreeCAD. It all works.
Thanks again.
Toni Gil.
It worked to make the modul and I could import in Python console on FreeCAD. It all works.
Thanks again.
Toni Gil.
Re: FreeCAD and Raspberry Pi 4
The question persists "Why didn't FreeCADGui not build?"
Can you check CMakeCache for BUILD_GUI:BOOL=ON?
"fight the good fight"
Re: FreeCAD and Raspberry Pi 4
Yes, it's "ON"
Feel free to ask whatever you need to know about this question. I attach CMakeOutput.log as it could help.
Thanks and regards,
Toni Gil.
Feel free to ask whatever you need to know about this question. I attach CMakeOutput.log as it could help.
Thanks and regards,
Toni Gil.
- Attachments
-
- CMakeOutput.log
- (62.52 KiB) Downloaded 65 times
Re: FreeCAD and Raspberry Pi 4
@ ToniGil, maybe it's not relevant, but....what about your RPI4 model? 1Gb? 2Gb? 4Gb?
The make -j4 command involves more than 2Gb of RAM consumption sometimes while compiling.
So, if you have a 1 or 2Gb model you maybe should compile with make -j2 or make -j3 to avoid potential compiling errors?...
Do you remember some warning messages during compiling ?
The make -j4 command involves more than 2Gb of RAM consumption sometimes while compiling.
So, if you have a 1 or 2Gb model you maybe should compile with make -j2 or make -j3 to avoid potential compiling errors?...
Do you remember some warning messages during compiling ?