Well closer but not quite usable... I tried to run:
The common error is: ImportError: DLL load failed while importing FreeCADGui: The specified module could not be found.
Code: Select all
======================================================================
ERROR: TestAddonManagerApp (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: TestAddonManagerApp
Traceback (most recent call last):
File "C:\Python38\Lib\unittest\loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "C:\Users\***\github\FreeCAD\FreeCad_build_new\Mod\AddonManager\TestAddonManagerApp.py", line 26, in <module>
from AddonManagerTest.app.test_utilities import (
File "C:\Users\***\github\FreeCAD\FreeCad_build_new\Mod\AddonManager\AddonManagerTest\app\test_utilities.py", line 29, in <module>
from Addon import Addon
File "C:\Users\****\github\FreeCAD\FreeCad_build_new\Mod\AddonManager\Addon.py", line 30, in <module>
from addonmanager_macro import Macro
File "C:\Users\*****a\github\FreeCAD\FreeCad_build_new\Mod\AddonManager\addonmanager_macro.py", line 39, in <module>
from addonmanager_utilities import remove_directory_if_empty, is_float
File "C:\Python38\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\****\github\FreeCAD\FreeCad_build_new\Mod\AddonManager\addonmanager_utilities.py", line 34, in <module>
import FreeCADGui
File "C:\Python38\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ImportError: DLL load failed while importing FreeCADGui: The specified module could not be found.
======================================================================
ERROR:
Now I am launching the exe from an admin command prompt while in the bin dir. Now I thought dlls in the same loc as the exe where loaded automatically as needed.
Code: Select all
dir *.exe
Directory of C:\Users\xxxx\github\FreeCAD\FreeCad_build_new\bin
07/28/2022 08:36 PM 136,704 FreeCAD.exe
07/28/2022 08:30 PM 123,392 FreeCADCmd.exe
dir *.dll
Volume in drive C is Windows
Volume Serial Number is 445E-5271
Directory of C:\Users\****\github\FreeCAD\FreeCad_build_new\bin
07/28/2022 08:29 PM 40,960 Driver.dll
07/28/2022 08:29 PM 31,232 DriverDAT.dll
07/28/2022 08:29 PM 94,208 DriverSTL.dll
07/28/2022 08:29 PM 123,904 DriverUNV.dll
07/29/2022 10:31 AM 4,272,640 FreeCADApp.dll
07/29/2022 10:30 AM 1,629,696 FreeCADBase.dll
07/29/2022 10:28 AM 15,557,120 FreeCADGui.dll
07/28/2022 08:29 PM 102,400 MEFISTO2.dll
07/28/2022 08:31 PM 343,040 NETGENPlugin.dll
07/28/2022 08:28 PM 546,816 SMDS.dll
07/28/2022 08:29 PM 2,591,744 SMESH.dll
07/28/2022 08:28 PM 231,936 SMESHDS.dll
07/28/2022 08:31 PM 2,483,200 StdMeshers.dll
Now I just noticed the Python it is finding is my C:\Python38 , this is a Python 3.8.10 install from python.org. Is this likely the issue?