I'm running FreeCAD on Fedora, using wine - because it seemed easier to install the exe rather than than trying to build FreeCAD myself from source. It's working fine, except...
I'm trying to debug a python script by running it from the linux console (if there's a bug in the script and I run it from FreeCAD, nothing happens - i.e. I don't get a message in FreeCAD telling me what the problem is with the script). The problem is, I have this at the top of my script:
Code: Select all
import sys
sys.path.append("/home/richard/.wine/drive_c/Program Files/FreeCAD0.10/bin")
Code: Select all
ImportError: No module named FreeCAD
Should this work? Any help much appreciated - I'm new to all this.
Many thanks,
Richard