-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
This can be difficult to reproduce. If a package is installed locally, as in for development, this problem is masked. In order to reproduce, I had to create a fresh virtual machine with no FreeCAD installed. With that in mind, do the following:
- Install FreeCAD
- Using the Addon Manager, install the Rocket WB.
- When prompted, include the optional installs: CfdOF, shapely, and python-docx
- Restart
Checking the AdditionalPythonPackages folder, all packages are in there. However trying to load them using the Rocket WB produces module not found errors. This can be shown from the Python console:
Python 3.11.13 | packaged by conda-forge | (main, Jun 4 2025, 14:39:58) [MSC v.1943 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> # Gui.runCommand('Start_Start',0)
>>> # Gui.runCommand('Std_Workbench',11)
>>> # Gui.runCommand('Std_ViewStatusBar',1)
>>> import shapely
>>> from shapely.geometry import Polygon
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\FreeCAD 1.0\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'shapely.geometry'
>>> from docx import Document
Traceback (most recent call last):
File "<input>", line 1, in <module>
ImportError: cannot import name 'Document' from 'docx' (unknown location)
>>>
OS: Windows 11 build 22621
Architecture: x86_64
Version: 1.0.2.39319 (Git) Conda
Build type: Release
Branch: (HEAD detached at 1.0.2)
Hash: 256fc7eff3379911ab5daf88e10182c509aa8052
Python 3.11.13, Qt 5.15.15, Coin 4.0.3, Vtk 9.3.0, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/Fusion
Installed mods:
* AddonManager 2025.10.16
* CfdOF 1.33.1
* manifest.json
* Rocket 5.0.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels