-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError #4
Comments
I have no clue why this happens. Maybe you can post your compilation results here? One more thing, importing the module at its directory may cause error. For example, running |
I have also run into this problem. Did you fix this issue? if yes could you please help me? |
@ngthanhtin I suspect the issue happens at the link time. I temporily fixed this by using py2 isntead of py3. Probably not the most right thing to do, but worked for me |
It seems that the installed PCL has been linked to the python2, which may include |
this worked for me I installed pcl with sudo apt install libpcl-dev instead I compile PCL 1.11.0 on ubuntu 18.04 and problem solve |
Hi, thanks for sharing the code. I have compiled and installed this module successfully, but encountered the following ImportError when trying import it in python script.
>>> import PCLKeypoint Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dynamic module does not define module export function (PyInit_PCLKeypoint)
I am using Ubuntu 18.04.3 LTS and the python version is 3.6.9.
Do you possiblly have any ideas how to fix this problem?
The text was updated successfully, but these errors were encountered: