pclpy
pclpy copied to clipboard
An error during import in example of v0.11.0
When i run example pcl_with_pyqt5.py in pclpy/examples/ of v0.11.0 ,
An error occurred while the program was running , during import .
Head of that code is following:
import sys
import pclpy from pclpy import pcl
from PyQt5 import QtWidgets from PyQt5.QtCore import Qt from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor
Error printed by pychram is following:
Traceback (most recent call last):
File "D:\ me \miniconda3\envs\py36\lib\site-packages\vtk\vtkCommonMisc.py", line 5, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/ my program /qt_pcl_demo1.py", line 8, in
My environment created by conda:
python 3.6 pclpy 11 pyqt5
But when i swap the line , it success. like this
import sys
from PyQt5 import QtWidgets from PyQt5.QtCore import Qt from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor
import pclpy from pclpy import pcl