openalea/visualea

Missing dependencies during win64 anaconda installation

Closed this issue · 10 comments

Hello,

On win64 platform with anaconda installation of visualea from openalea channels :

conda create -n visualea python
activate visualea
conda install -c openalea openalea.visualea

I'had execution error when a launch visualea :

ipython
from openalea.visualea.visualea_script import start_gui
start_gui()

Resulting error like :

ImportError: You must install pyqt-tools due to pyqt package absence
ImportError: No module named rich_ipython_widget due to qtconsole absence
AttributeError: 'module' object has no attribute 'QTextEdit' due to pyqt version 5

So I fix my problem with :

conda install -c openalea pyqt=4.10.4
conda install -c openalea qtconsole

Thanks Simon.
I will investigate why pyqt5 is installed. Seems strange.

I was thinking that qt <5 was enough. I have added pyqt <5 in vpltk deps.

No, with just pyqt<5 I have the ImportError: No module named rich_ipython_widget you can test if you have the same error.

qtconsole is installed with openalea.vpltk. I will update openalea.oalab which install ipython-qtconsole and not qtconsole.
Stay tuned (it takes a long time to rebuild everything on Windows)

Exactly same bug is still here with the last package uploaded :
https://ci.appveyor.com/project/pradal/openalea-recipes

Have you removed your cache?

Yes

More, Yesterday I removed completely my Miniconda and reinstalled, so I have I pretty clean and stable installation of conda. And I have removed my cache when a tested again. Proof :

3

Yes. You download openalea.vpltk 2.0.1 while the right one is 2.0.2
Just try with

conda install -c openalea openalea.visualea openalea.vpltk=2.0.2
If it fails, then we have a bug

Thanks @pradal that work's fine with openalea.vpltk=2.0.2