Install gz-transport14 from source using colcon with dependencies from conda.
Run python
Type from gz.transport14 import Node
Output
Traceback (most recent call last):
File "D:\programming\gz9-ws\gz-ws\src\gz-transport\python\examples\publisher.py", line 19, in <module>
from gz.transport14 import Node
File "D:\programming\gz9-ws\gz-ws\install\lib\python\gz\transport14\__init__.py", line 18, in <module>
from ._transport import Node as _Node
ImportError: DLL load failed while importing _transport: module not found
Environment
Description
Steps to reproduce
python
from gz.transport14 import Node
Output
See https://github.com/gazebosim/gazebo_test_cases/issues/1545 for details.
Proposed solution
Add
to the start of python/src/init.py .
The path has to point to the directory where gz-transport14.dll is installed.
I don't know if it's better to turn the py file into a py.in and configure it via cmake, or if there is a better way.