VirtualPlants / tissuelab

A multi-platform, plugin-based platform dedicated to the interactive visualization and complex processing of plant tissues
2 stars 1 forks source link

Conda install - USER procedure #6

Open jlegrand62 opened 7 years ago

jlegrand62 commented 7 years ago

Since I was failing with the "one-liner" (Issue #5), I tried the conda "user procedure" given in the readme.md.

After succesfully executing the procedure, lauching tissuelab returns an Error:

(tissuelab-user)jlegrand@r730visu:~$ oalab -e tissue
PyQt4 used: your application or derivative works must be released under GPL or CeCILL license !
Traceback (most recent call last):
  File "/home/jlegrand/miniconda2/envs/tissuelab-user/bin/oalab", line 11, in <module>
    load_entry_point('OpenAlea.OALab==1.3.0', 'gui_scripts', 'oalab')()
  File "/home/jlegrand/miniconda2/envs/tissuelab-user/lib/python2.7/site-packages/OpenAlea.OALab-1.3.0-py2.7.egg/openalea/oalab/main.py", line 75, in main
    from openalea.vpltk.qt import QtGui
  File "/home/jlegrand/miniconda2/envs/tissuelab-user/lib/python2.7/site-packages/OpenAlea.VPLTK-1.3.0-py2.7.egg/openalea/vpltk/qt/__init__.py", line 168, in <module>
    import openalea.vpltk.qt.designer
  File "/home/jlegrand/miniconda2/envs/tissuelab-user/lib/python2.7/site-packages/OpenAlea.VPLTK-1.3.0-py2.7.egg/openalea/vpltk/qt/designer.py", line 94, in <module>
    from openalea.vpltk.qt.uic import compileUi, compile_args
ImportError: cannot import name compileUi

Since I could not understand why it was failing when the 'one-liner' version is working, I compared the 'vpltk' versions between the "one-liner" and the documented "user procedure":

However, changing the 'openalea' channel version for the 'tissuelab' version allows to SUCCESFULLY load tissuelab:

conda uninstall openalea.vpltk
conda install -c tissuelab openalea.vpltk

Now oalab -e tissue works (the gui load, tested some 'import', ...) !!!