-
Notifications
You must be signed in to change notification settings - Fork 700
-
Notifications
You must be signed in to change notification settings - Fork 700
Cannot import pcl #218
Comments
same for me but works with the msi version on Windows 10 with Python 3.6 |
Hi, Thank for your reply. I managed to install Python-PCL already. The above error is due to the missing of necessary path to libraries in the PATH environment. Thanks, |
@xuanvinhilb Did you figure out how to compute normal estimates? I'm trying but it keeps failing:
It fails saying |
Hi medakk, Can you try the code below? Just changing the cloud and test if it work. Thanks, -- coding: utf-8 --""" @author: xuanv fileName = 'ValeroTK324_Cropped_2millionspoints.pcd'
|
The above error is probably due to the missing of necessary path to libraries in the PATH environment. You can use dependency walker to find which library is missing (http://www.dependencywalker.com/) |
@xuanvinhilb Thanks for replying. I have followed the steps mentioned in https://github.com/strawlab/python-pcl#set-before-environment-variable I installed the PCL 1.6.0 All-In-One Installer and I have copied these path |
It is usually because of missing Xerces-C. I strongly recommend you to use dependency walker to find exactly which library is missing. |
@xuanvinhilb One small correction: |
I solved the issue by following the steps below.
|
What is your python version?
…On Fri, 1 Feb 2019, 3:00 pm noxferatus, ***@***.***> wrote:
Hi, I'm also having troubles with this and I'm pretty sure that's because
of the environment variables...
I don't know why but they don't seem to work as they should
($(OPEN_NI_ROOT) nor $(VTK_ROOT) are there)
Any help please...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWMxZ3Z6_UrPBRMmc1YZoIycmXUIKCmVks5vJAk2gaJpZM4VYTXt>
.
|
Python 3.4 |
I suggest use pcl 1.8.1 or 1.9 as python-pcl latest build are for these.
…On Sat, 2 Feb 2019, 9:45 pm noxferatus, ***@***.***> wrote:
Python 3.4
PCL 16
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWMxZ-cNRvyV_ZduMuMvShlpgXllXB7vks5vJbm-gaJpZM4VYTXt>
.
|
I had to add |
I had the same issue and had to download OpenNI2 and add the OpenNI2.dll from the Tools folder of OpenNI to the PATH. |
@Bastiiiiii how did you do it ? |
I got the same problem. How to solve the import problem mentioned above? Could you please give some detail explanation? |
@xuanvinhilb were you able to solve this error? I have tried everything but seems nothing works. |
can you tell me how to slove this question?I installed python-pcl-0.3.win-amd64-py3.5.msi after installing I am facing this issue from ._pcl import * |
Had the same error. Adding "C:\Program Files\OpenNI2\Redist" and "C:\Program Files\OpenNI2\Samples\Bin" to the path fixed it. I am using Windows10, python 3.7.3 and PCL 1.9.1. |
I also get the same error. Will this be resolved? |
Works for both python2 and python3 (mention python3 if needed)
If importing pcl outside this directory still give the same error, then uninstall the existing pcl.
|
I added all the above-mentioned locations to the system path but still got the same error. any idea? tnx |
I am very new to all these issues and I have the same problem. could you explain how to use dependency walker for this special case? |
That was easy and helpfull thanks buddy |
I installed python-pcl using python_pcl-0.3-cp35-cp35m-win_amd64.whl.
I have some questions as follows:
(py35) C:\Users\xuanv\Downloads>python test.py
Traceback (most recent call last):
File "test.py", line 1, in
import pcl
File "C:\Users\xuanv\AppData\Local\conda\conda\envs\py35\lib\site-packages\pcl_init_.py", line 5, in
from ._pcl import *
ImportError: DLL load failed: The specified module could not be found.
Do you have any idea what is going on?
Thanks
The text was updated successfully, but these errors were encountered: