Orange Forum • View topic - No more visualization?

No more visualization?

A place to ask questions about methods in Orange and how they are used and other general support.

No more visualization?

Postby Sillyhog » Thu Sep 06, 2012 21:21

Hello,

I recently switched computers and downloaded a new version of orange. I noticed that most of the visualization widgets are gone. The only three I have available are attribute stats, mosaic display, and sieve diagram. Are polyviz, radviz, and the others no longer available?

Thanks!

Re: No more visualization?

Postby Ales » Thu Sep 06, 2012 21:41

The widgets should still be there.

Can you open the Output Window (Menu -> Options -> Show Output Window) after Orange Canvas starts and post the contents?

Re: No more visualization?

Postby Sillyhog » Fri Sep 07, 2012 3:29

There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWDiscretize: the PyQt4.QtCore module is version 1 but the PyQt4.Qwt5.Qwt module requires version 0
OWPaintData: name 'QwtPlotCurve' is not defined
OWCalibrationPlot: name 'QwtPlotCurve' is not defined
OWLiftCurve: name 'QwtPlotCurve' is not defined
OWROC: name 'QwtPlotCurve' is not defined
OWCalibratedClassifier: name 'QwtPlotCurve' is not defined
OWCorrelations: name 'QwtPlotCurve' is not defined
OWItemsetViz: No module named OWNetworkCanvas
OWModelMap: No module named scipy.stats
OWPerformanceCurves: name 'QwtPlotCurve' is not defined
OWRScript: No module named rpy2.robjects
OWTimeDataVisualizer: name 'QwtPlotCurve' is not defined
OWLinearRegression: No module named scipy.linalg
OWMDS: name 'QwtPlotCurve' is not defined
OWNxExplorer: the PyQt4.QtCore module is version 1 but the orangeqt module requires version 0
OWNxFromDistances: name 'QwtPlotCurve' is not defined
OWPCA: 'module' object has no attribute 'PlotItem'
OWCorrespondenceAnalysis: name 'QwtPlotCurve' is not defined
OWDistributions: name 'QwtPlotCurve' is not defined
OWLinProj: name 'QwtPlotCurve' is not defined
OWMultiCorrespondenceAnalysis: name 'QwtPlotCurve' is not defined
OWParallelCoordinates: name 'QwtPlotCurve' is not defined
OWPolyviz: name 'QwtPlotCurve' is not defined
OWRadviz: name 'QwtPlotCurve' is not defined
OWScatterPlot: name 'QwtPlotCurve' is not defined
OWSieveMultigram: name 'QwtPlotCurve' is not defined
OWSurveyPlot: name 'QwtPlotCurve' is not defined
OWDiscretizeQt: 'module' object has no attribute 'PlotItem'
OWDistributionsQt: 'module' object has no attribute 'PlotItem'
OWLinProj3D: 'module' object has no attribute 'PlotItem'
OWLinProjQt: 'module' object has no attribute 'PlotItem'
OWMDSQt: 'module' object has no attribute 'PlotItem'
OWNxExplorer3D: No module named OWNxExplorerQt
OWParallelCoordinatesQt: 'module' object has no attribute 'PlotItem'
OWPolyvizQt: 'module' object has no attribute 'PlotItem'
OWRadvizQt: 'module' object has no attribute 'PlotItem'
OWScatterPlot3D: 'module' object has no attribute 'PlotItem'
OWScatterPlotQt: 'module' object has no attribute 'PlotItem'
OWSphereviz3D: 'module' object has no attribute 'PlotItem'
The following widgets could not be imported and will not be available: OWSphereviz3D, OWSurveyPlot, OWC45Tree, OWLiftCurve, OWLinProjQt, OWScatterPlotQt, OWDistributions, OWParallelCoordinatesQt, OWRadvizQt, OWLinProj, OWMDSQt, OWLinearRegression, OWDiscretizeQt, OWNxFromDistances, OWMultiCorrespondenceAnalysis, OWLinProj3D, OWScatterPlot, OWMDS, OWPolyviz, OWSieveMultigram, OWDiscretize, OWNxExplorer, OWScatterPlot3D, OWPaintData, OWRadviz, OWCalibrationPlot, OWParallelCoordinates, OWCorrespondenceAnalysis, OWNxExplorer3D, OWPCA, OWROC, OWDistributionsQt, OWPolyvizQt.
The following prototype widgets could not be imported and will not be available: OWPerformanceCurves, OWRScript, OWCalibratedClassifier, OWItemsetViz, OWTimeDataVisualizer, OWModelMap, OWCorrelations.

Re: No more visualization?

Postby williamdefoe » Fri Sep 07, 2012 12:49

Hi Ales,
Well, you helped me to get the Canvas to run.
But it seems the installation still has problems, because I encounter the same problem like Sillyhog. I also have only 3 visualization elements present: Mosaic Display, Sieve Diagram and Attribute Statistics. Thats all. Any suggestions?
Yours
WD

Re: No more visualization?

Postby Sillyhog » Mon Sep 10, 2012 4:35

Hi Ales,

I was able to fix this error by uninstalling PyQt4.QtCore and PyQt4.Qwt5.Qwt and reloading everything. However I still have issues with Radviz and others. The Output Window now reads the following:

There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWItemsetViz: No module named OWNetworkCanvas
OWRScript: No module named rpy2.robjects
OWLinProj3D: 'module' object has no attribute 'Plot3D'
OWNxExplorer3D: No module named OWNxExplorerQt
OWScatterPlot3D: 'module' object has no attribute 'Plot3D'
OWSphereviz3D: 'module' object has no attribute 'Plot3D'
The following widgets could not be imported and will not be available: OWSphereviz3D, OWScatterPlot3D, OWLinProj3D, OWC45Tree, OWNxExplorer3D.
The following prototype widgets could not be imported and will not be available: OWRScript, OWItemsetViz.

Unloading and reloading is not working this time. Thank you for your help!

Re: No more visualization?

Postby Ales » Mon Sep 10, 2012 9:56

williamdefoe wrote:But it seems the installation still has problems, because I encounter the same problem like Sillyhog. I also have only 3 visualization elements present: Mosaic Display, Sieve Diagram and Attribute Statistics. Thats all. Any suggestions?

Uninstall PyQwt and PyQt4 using the windows Control Panel. Make sure the uninstall process deleted the C:\Python27\Lib\site-packages\PyQt4 directory. If not delete it manually. Then rerun the orange installer and reinstall all the dependencies when prompted.

Re: No more visualization?

Postby Sillyhog » Mon Sep 10, 2012 15:26

Hi Ales,

Any idea why I received the new problems after uninstalling and re-installing?


OWC45Tree: c45 is not found
OWItemsetViz: No module named OWNetworkCanvas
OWRScript: No module named rpy2.robjects
OWLinProj3D: 'module' object has no attribute 'Plot3D'
OWNxExplorer3D: No module named OWNxExplorerQt
OWScatterPlot3D: 'module' object has no attribute 'Plot3D'
OWSphereviz3D: 'module' object has no attribute 'Plot3D'

Re: No more visualization?

Postby Ales » Mon Sep 10, 2012 16:00

Sillyhog wrote:Any idea why I received the new problems after uninstalling and re-installing?
You can ignore these.
The *3D widgets are intentionally disabled. The C4.5 tree learner you have to build yourself if you plan on using it (see Building The c4-5 plug-in), and for the RScript you have to install both rpy2 package and R itself.

Re: No more visualization?

Postby williamdefoe » Tue Sep 11, 2012 20:28

Hi Ales,
I tried to uninstall everything and install everything. Deleting Folders, in installing again.
I have the Canvas running, but still have only three icons under visualisation.
Please find here the latest error report. Any further suggestions?
Yours
WD

There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWDiscretize: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWPaintData: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWCalibrationPlot: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWLiftCurve: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWROC: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWCalibratedClassifier: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWCorrelations: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWItemsetViz: DLL load failed: Das angegebene Modul wurde nicht gefunden.
OWModelMap: the PyQt4.QtCore module is version 1 but the orangeqt module requires version 0
OWPerformanceCurves: the PyQt4.QtCore module is version 1 but the PyQt4.Qwt5.Qwt module requires version 0
OWRScript: No module named rpy2.robjects
OWTimeDataVisualizer: name 'QwtPlotCurve' is not defined
OWMDS: name 'QwtPlotCurve' is not defined
OWNxExplorer: 'module' object has no attribute 'PlotItem'
OWNxFromDistances: name 'QwtPlotCurve' is not defined
OWPCA: 'module' object has no attribute 'PlotItem'
OWCorrespondenceAnalysis: name 'QwtPlotCurve' is not defined
OWDistributions: name 'QwtPlotCurve' is not defined
OWLinProj: name 'QwtPlotCurve' is not defined
OWMultiCorrespondenceAnalysis: name 'QwtPlotCurve' is not defined
OWParallelCoordinates: name 'QwtPlotCurve' is not defined
OWPolyviz: name 'QwtPlotCurve' is not defined
OWRadviz: name 'QwtPlotCurve' is not defined
OWScatterPlot: name 'QwtPlotCurve' is not defined
OWSieveMultigram: name 'QwtPlotCurve' is not defined
OWSurveyPlot: name 'QwtPlotCurve' is not defined
OWDiscretizeQt: 'module' object has no attribute 'PlotItem'
OWDistributionsQt: 'module' object has no attribute 'PlotItem'
OWLinProj3D: 'module' object has no attribute 'PlotItem'
OWLinProjQt: 'module' object has no attribute 'PlotItem'
OWMDSQt: 'module' object has no attribute 'PlotItem'
OWNxExplorer3D: No module named OWNxExplorerQt
OWParallelCoordinatesQt: 'module' object has no attribute 'PlotItem'
OWPolyvizQt: 'module' object has no attribute 'PlotItem'
OWRadvizQt: 'module' object has no attribute 'PlotItem'
OWScatterPlot3D: 'module' object has no attribute 'PlotItem'
OWScatterPlotQt: 'module' object has no attribute 'PlotItem'
OWSphereviz3D: 'module' object has no attribute 'PlotItem'
The following widgets could not be imported and will not be available: OWSphereviz3D, OWSurveyPlot, OWC45Tree, OWLiftCurve, OWLinProjQt, OWScatterPlotQt, OWParallelCoordinatesQt, OWRadvizQt, OWLinProj, OWMDSQt, OWDistributions, OWDiscretizeQt, OWNxFromDistances, OWMultiCorrespondenceAnalysis, OWLinProj3D, OWScatterPlot, OWMDS, OWPolyviz, OWSieveMultigram, OWDiscretize, OWNxExplorer, OWScatterPlot3D, OWPaintData, OWRadviz, OWCalibrationPlot, OWParallelCoordinates, OWCorrespondenceAnalysis, OWNxExplorer3D, OWPCA, OWROC, OWDistributionsQt, OWPolyvizQt.
The following prototype widgets could not be imported and will not be available: OWPerformanceCurves, OWRScript, OWCalibratedClassifier, OWItemsetViz, OWTimeDataVisualizer, OWModelMap, OWCorrelations.

Re: No more visualization?

Postby Ales » Thu Sep 13, 2012 11:29

williamdefoe wrote:Please find here the latest error report. Any further suggestions?

The problem seems to be that the Qwt library is not compatible with the version of PyQt4. I take it you installed the latest PyQt4 from riverbank website as I suggested in this thread: orange canvas is not working.

Maybe you can fix this problem by installing unofficial PyQt4 and PyQwt5 libraries from Christoph Gohlke's site (these should be compatible):

PyQt
PyQwt

Select the proper version for your python installation.

Note like before you should uninstall the current PyQwt and PyQt4 libraries and remove the .../site-packages/PyQt4 directory if it remains after uninstallation.

Re: No more visualization?

Postby williamdefoe » Fri Sep 14, 2012 15:40

Hi Ales,
THX! now it seems to work. You have been a great help.
The only message I get now is:

C:\Program Files (x86)\Python27_Orange\Lib\site-packages\Orange\OrangeCanvas>python orngCanvas.pyw
RuntimeError: module compiled against API version 6 but this version of numpy is 4

But because it seems to work (I have all the visualization icons now), I am very happy :D
When I look at the "Output Window" there are still problems. For example I cannot perform the PCA. Is this still a problem with the PyQt4? Maybe I should use a different Python version?
What do you think?

There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWItemsetViz: numpy.core.multiarray failed to import
OWModelMap: the PyQt4.QtCore module is version 1 but the orangeqt module requires version 0
OWRScript: No module named rpy2.robjects
OWNxExplorer: 'module' object has no attribute 'PlotItem'
OWPCA: 'module' object has no attribute 'PlotItem'
OWDiscretizeQt: 'module' object has no attribute 'PlotItem'
OWDistributionsQt: 'module' object has no attribute 'PlotItem'
OWLinProj3D: 'module' object has no attribute 'PlotItem'
OWLinProjQt: 'module' object has no attribute 'PlotItem'
OWMDSQt: 'module' object has no attribute 'PlotItem'
OWNxExplorer3D: No module named OWNxExplorerQt
OWParallelCoordinatesQt: 'module' object has no attribute 'PlotItem'
OWPolyvizQt: 'module' object has no attribute 'PlotItem'
OWRadvizQt: 'module' object has no attribute 'PlotItem'
OWScatterPlot3D: 'module' object has no attribute 'PlotItem'
OWScatterPlotQt: 'module' object has no attribute 'PlotItem'
OWSphereviz3D: 'module' object has no attribute 'PlotItem'
OWGeneMania: cannot import name lru_cache
OWGEODatasets: cannot import name lru_cache
OWANOVA: 'module' object has no attribute 'Orange'
OWApproxProfiles: 'module' object has no attribute 'Orange'
OWDataDistance: No module named qt
OWDataFiles: 'module' object has no attribute 'Orange'
OWDataFilesSave: 'module' object has no attribute 'Orange'
OWDataFilesSelector: 'module' object has no attribute 'Orange'
OWEpistasisAnalysis: 'module' object has no attribute 'Orange'
OWExampleSelector: No module named qttable
(2, 'No such file or directory')
OWGeneAtlasTissueExpression: cannot import name serverfiles
OWHypTest: No module named qt
OWImputeProfiles: 'module' object has no attribute 'Orange'
OWProcessChipData: 'module' object has no attribute 'Orange'
The following widgets could not be imported and will not be available: OWSphereviz3D, OWScatterPlot3D, OWC45Tree, OWParallelCoordinatesQt, OWLinProj3D, OWScatterPlotQt, OWNxExplorer3D, OWPCA, OWGEODatasets, OWMDSQt, OWGeneMania, OWLinProjQt, OWDistributionsQt, OWNxExplorer, OWRadvizQt, OWDiscretizeQt, OWPolyvizQt.
The following prototype widgets could not be imported and will not be available: OWItemsetViz, OWImputeProfiles, OWModelMap, OWExampleSelector, OWGeneAtlasTissueExpression, OWRScript, OWANOVA, OWApproxProfiles, OWDataFiles, OWProcessChipData, OWDataFilesSave, OWHypTest, OWEpistasisAnalysis, OWDataDistance, OWDataFilesSelector.

Yours
WD


Return to Questions & Support



cron