Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

problem when importing pcl windows #155

Open
skyline624 opened this issue Jan 6, 2018 · 11 comments
Open

problem when importing pcl windows #155

skyline624 opened this issue Jan 6, 2018 · 11 comments

Comments

@skyline624
Copy link

Hello everyone,
I get an error message when I try to import pcl:

import pcl
Traceback (most recent call last):
File "<pyshell # 1>", line 1, in
import pcl
File "C: \ Python35 \ lib \ site-packages \ python_pcl-0.3-py3.5-win-amd64.egg \ pcl \ __ init__.py", line 2, in
from ._pcl import *
ImportError: DLL load failed: The specified module was not found.

pcl is well in the path I do not see where it can come.
I am running windows 10 and python 3.5 pcl 1.8.1.
thank you in advance

@niranjanreddy891
Copy link
Contributor

niranjanreddy891 commented Mar 12, 2018

Try with python-2.7. It worked for me. Also try installing win-7 instead of win-10 @Qipccc and @skyline624

@mukhery
Copy link

mukhery commented Apr 4, 2018

I was able to use the dependency walker to open the .pyd files within the site-packages directory referenced in my error message. Doing so revealing that OpenNI2.dll was missing. I added C:\Program Files\OpenNI2\Samples\Bin, which is where OpenNI2.dll is located, to my Path environment variable and then I was able to import pcl just fine.

@lzq100123
Copy link

Same problem to me. I fixed it by installing .NET Framework 4.7.1, then I was able to import pcl (python3.5, windows7, pcl1.8.1)

@kaif15
Copy link

kaif15 commented Apr 26, 2018

Had the same issue. Fixed it by starting the python interpreter in admin mode (python 3.6, windows 10, pcl 1.8.1)

@HowcanoeWang
Copy link

HowcanoeWang commented May 7, 2018

@mukhery thanks a lot, that does work for me!

@neveroldmilk
Copy link

@mukhery This also works for me, thanks!

@wedesoft
Copy link

wedesoft commented Mar 1, 2019

I had to add C:\\Program Files\OpenNI2\Redist to the system PATH to get it to work under Windows.

@jaceblake
Copy link
Contributor

@wedesoft windows 10 or what?

@wedesoft
Copy link

wedesoft commented Mar 4, 2019

@jahidmixmaster Windows 7

@tjulyz
Copy link

tjulyz commented Jul 29, 2021

Had the same issue. Fixed it by starting the python interpreter in admin mode (python 3.6, windows 10, pcl 1.8.1)

Very helpful!

@Lytt-2020
Copy link

Had the same issue. Fixed it by starting the python interpreter in admin mode (python 3.6, windows 10, pcl 1.8.1)

Very helpful!
Could you please tell me how to fix this error with a Python interpreter? Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests