pcloudpy
pcloudpy copied to clipboard
Test log of installation and running the app in Ubuntu 16.04, Anaconda and Python2.7
Hi, sorry to post the message here. This would be more like an test log but a clear issue.
I have downloaded the original project and tried to install it in my Anaconda environment (of course it's in Python 2.7). During the installation process, I modified the following two lines in pcloudpy/core/io/converters.py
to let the installation went further:
#from vtk.vtkCommonPython import vtkPoints, VTK_UNSIGNED_CHAR
from vtk import vtkPoints, VTK_UNSIGNED_CHAR
#from vtk.vtkFilteringPython import vtkCellArray, vtkPolyData
from vtk import vtkCellArray, vtkPolyData
Then I tried to using conda install
and pip install
in my Anaconda environment to make the installation successfully. The overall dependencies are list in the end of this post.
I tried to open the GUI app in Python prompt by typing:
import pcloudpy
pcloudpy.gui.app.run()
and the terminal returns:
MultipleInstanceError: Multiple incompatible subclass instances of InProcessInteractiveShell are being created.
with the big logo float in the entire screen as follows:
If I run pcloudpy.gui.app.run()
again, the terminal will reply:
13 def run():
---> 14 app = QApplication(sys.argv)
15 app.setOrganizationName("pcloudpy")
16 app.setApplicationName("pcloudpy")
RuntimeError: A QApplication instance already exists.
I also tried to open the GUI app from the source folder by using python main.py
. The GUI app will open up without problem, but I tried to open *.ply or *.vtk (I have only these files in hand), the app won't open any thing (with the mouse pointer always be in `waiting state') or crash immediately.
The GUI of the app and the listed functions all look good. I would like to try it more but have no clue to continue.
I don't know whether my test log is helpful for you developers. If you need me to test something more, please let me know.
The dependencies in my environment:
name: py2
channels:
- defaults
dependencies:
- bzip2=1.0.6=h6d464ef_2
- ca-certificates=2017.08.26=h1d4fec5_0
- cairo=1.14.10=hdf128ce_6
- certifi=2017.11.5=py27h71e7faf_0
- curl=7.55.1=h78862de_4
- cython=0.26.1=py27hdbcff32_0
- expat=2.2.5=he0dffb1_0
- fontconfig=2.12.4=h88586e7_1
- freetype=2.8=hab7d2ae_1
- freexl=1.0.4=hf32cdb2_5
- gdal=2.2.2=py27hae9aa10_1
- geos=3.6.2=heeff764_2
- giflib=5.1.4=h26a3ec6_1
- glib=2.53.6=h5d9569c_2
- hdf4=4.2.13=h3ca952b_2
- hdf5=1.10.1=h9caa474_1
- icu=58.2=h9c2bf20_1
- intel-openmp=2018.0.0=hc7b2577_8
- jpeg=9b=h024ee3a_2
- json-c=0.12.1=ha6a3662_2
- kealib=1.4.7=h79811e5_5
- krb5=1.14.2=hcdc1b81_6
- libboost=1.65.1=h4055789_3
- libdap4=3.19.0=h8c95237_1
- libedit=3.1=heed3624_0
- libffi=3.2.1=hd88cf55_4
- libgcc-ng=7.2.0=h7cc24e2_2
- libgdal=2.2.2=h804cdde_1
- libgfortran-ng=7.2.0=h9f7466a_2
- libkml=1.3.0=h9d32c78_3
- libnetcdf=4.4.1.1=h816af47_8
- libpng=1.6.32=hbd3595f_4
- libpq=9.6.6=h4e02ad2_0
- libspatialite=4.3.0a=h72746d6_18
- libssh2=1.8.0=h2d05a93_3
- libstdcxx-ng=7.2.0=h7a57d05_2
- libtiff=4.0.9=h28f6b97_0
- libxcb=1.12=hcd93eb1_4
- libxml2=2.9.4=h2e8b1d7_6
- markdown2=2.3.4=py27_0
- mkl=2018.0.1=h19d6760_4
- ncurses=6.0=h9df7e31_2
- numpy=1.13.3=py27hbcc08e0_0
- openjpeg=2.2.0=h622c3cc_2
- openssl=1.0.2m=h26d622b_1
- pandas=0.21.0=py27he307072_1
- pcre=8.41=hc27e229_1
- pip=9.0.1=py27ha730c48_4
- pixman=0.34.0=hceecf20_3
- poppler=0.60.1=hc909a00_0
- poppler-data=0.4.8=hf2eda46_0
- proj4=4.9.3=hc8507d1_7
- python=2.7.14=hdd48546_24
- python-dateutil=2.6.1=py27h4ca5741_1
- pytz=2017.3=py27h001bace_0
- readline=7.0=ha6073c6_4
- scikit-learn=0.19.1=py27h445a80a_0
- scipy=1.0.0=py27hf5f0f52_0
- setuptools=36.5.0=py27h68b189e_0
- six=1.11.0=py27h5f960f1_1
- sqlite=3.20.1=hb898158_2
- tk=8.6.7=hc745277_3
- util-linux=2.21=0
- vtk=6.3.0=py27_1
- wheel=0.30.0=py27h2bc6bb2_1
- xerces-c=3.2.0=h524ea4d_2
- xz=5.2.3=h55aa19d_2
- zlib=1.2.11=ha838bed_2
- pip:
- backports-abc==0.5
- backports.functools-lru-cache==1.4
- backports.shutil-get-terminal-size==1.0.0
- cycler==0.10.0
- decorator==4.1.2
- docutils==0.14
- enum34==1.1.6
- future==0.16.0
- ipykernel==4.6.1
- ipython==5.5.0
- ipython-genutils==0.2.0
- jedi==0.11.0
- jupyter-client==5.1.0
- jupyter-core==4.4.0
- laspy==1.5.0
- matplotlib==2.1.0
- networkx==2.0
- parso==0.1.0
- pathlib2==2.3.0
- pcloudpy==0.10
- pep8==1.7.1
- pexpect==4.3.0
- pickleshare==0.7.4
- prompt-toolkit==1.0.15
- ptyprocess==0.5.2
- pyflakes==1.6.0
- pygments==2.2.0
- pyparsing==2.2.0
- pypoisson==0.10
- pyqode.core==2.11.0
- pyqode.python==2.10.0
- pyqode.qt==2.10.0
- pyside==1.2.4
- pyyaml==3.12
- pyzmq==16.0.3
- qtconsole==4.3.1
- scandir==1.6
- simplegeneric==0.8.1
- singledispatch==3.4.0.3
- subprocess32==3.2.7
- tornado==4.5.2
- traitlets==4.3.2
- wcwidth==0.1.7
prefix: ~/.conda/envs/py2