diff --git a/src/App/FreeCADInit.py b/src/App/FreeCADInit.py index 33637cd3c..3a24e4b83 100644 --- a/src/App/FreeCADInit.py +++ b/src/App/FreeCADInit.py @@ -47,6 +47,8 @@ def InitApplications(): BinDir = os.path.realpath(BinDir) LibDir = FreeCAD.getHomePath()+'lib' LibDir = os.path.realpath(LibDir) + Lib64Dir = FreeCAD.getHomePath()+'lib64' + Lib64Dir = os.path.realpath(Lib64Dir) AddPath = FreeCAD.ConfigGet("AdditionalModulePaths").split(";") HomeMod = FreeCAD.ConfigGet("UserAppData")+"Mod" HomeMod = os.path.realpath(HomeMod) @@ -109,6 +111,7 @@ def InitApplications(): else: Log('Init: Initializing ' + Dir + '(Init.py not found)... ignore\n') sys.path.insert(0,LibDir) + sys.path.insert(0,Lib64Dir) sys.path.insert(0,ModDir) Log("Using "+ModDir+" as module path!\n") # new paths must be prepended to avoid to load a wrong version of a library