Exception has occurred: ImportError DLL load failed while importing _fastdds_python
Hi Guys:
I have built Fast-DDS-python successfully, but when i import the fastdds package, i get an error as follow:
The file struecture is orgnized like this:
and the test codes are:
import fastdds import sys, os sys.path.insert(0, os.path.join(os.path.dirname(__file__)) ) sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'fastdds') ) sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'fastdds/helloworld') )
I don't know how to fix this, could any one help me ? Greate appreciation!
I checked the dependencies but found no exception !
Hi, I met the same Problem. Did you solve that?
Hi @mocyth
Thanks for using Fast DDS Python !
I could reproduce the issue. We will get back to you when we see the root cause
Hi @mocyth
The issue is no longer reproducible in master with Fast DDS mmaster , could you double check that ?
We may backport a workaround to 2.x as well.
The version of python you compiled with fastdds-python does not match the version actually used in pycharm. You can specify the python version number in cmakelist at compile time.