I have installed the complete Orange Data mining windows package.
When starting from the program Icon the Orange Canvas will show up but at some point the error message Pythonw.exe has stopped working will appear
As pointed out in some other posts I started from the command line
C:\Python27>python.exe -m Orange.OrangeCanvas.main -l3
and get following log - any recommendations what to do?
UPDATE: just found a log in the C:\Users\nnnn\AppData\Roaming\orange\OrangeCanvasQt4\outputLog.html
There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWRScript: No module named rpy2.robjects
OWLinProj3D: No module named OpenGL
OWNxExplorer3D: No module named OWNxExplorerQt
OWScatterPlot3D: No module named OpenGL
OWSphereviz3D: No module named OpenGL
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.
Unhandled exception of type NameError occured at 20:58:30:
Traceback:
File: OWWidget.py, line 178 in reportAndFinish
Code: self.sendReport()
File: OWQuickSelect.py, line 121 in sendReport
Code: if self.selectedAttribute and 0 <= self.selectedAttribute[0] <= len(self.attributes) else _("(none)")),
NameError: global name '_' is not defined
C:\Python27>python.exe -m Orange.OrangeCanvas.main -l3
Setting up Canvas main window.
'CanvasScene(objectName='', ...)' intitialized.
Setting registry 'None on 'CanvasScene(objectName='', ...)'.
'CanvasScene(objectName='', ...)' cleared.
'CanvasScene(objectName='', ...)' intitialized.
Setting registry 'None on 'CanvasScene(objectName='', ...)'.
Setting scheme '<Orange.OrangeCanvas.scheme.widgetsscheme.WidgetsScheme object at 0x04C12E40>' on 'CanvasScene(objectName='', ...)'
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Visualize\\OWLinProjGraph.py'.
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Visualize\\OWParallelGraph.py'.
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Visualize\\OWPolyvizGraph.py'.
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Visualize\\OWScatterPlotGraph.py'.
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Visualize\\OWSieveMultigramGraph.py'.
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Visualize\\OWSurveyPlotGraph.py'.
Could not import 'Orange.OrangeWidgets.Classify.OWC45Tree'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\Classify\OWC45Tree.py", line 35, in <module>
raise ImportError("c45 is not found")
ImportError: c45 is not found
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Classify\\OWNomogramGraph.py'.
Could not import 'Orange.OrangeWidgets.Prototypes.OWRScript'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\Prototypes\OWRScript.py", line 12, in <module>
import Orange.utils.r as r
File "C:\Python27\lib\site-packages\Orange\utils\r.py", line 19, in <module>
import rpy2.robjects as robjects
ImportError: No module named rpy2.robjects
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\Prototypes\\OWTimeDataVisualizerGraph.py'.
Could not import 'Orange.OrangeWidgets.VisualizeQt.OWLinProj3D'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\VisualizeQt\OWLinProj3D.py", line 7, in <module>
from plot.owplot3d import *
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owplot3d.py", line 28, in <module>
from owopenglrenderer import OWOpenGLRenderer
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owopenglrenderer.py", line 19, in <module>
import OpenGL
ImportError: No module named OpenGL
Could not import 'Orange.OrangeWidgets.VisualizeQt.OWLinProj3DPlot'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\VisualizeQt\OWLinProj3DPlot.py", line 3, in <module>
from plot.owplot3d import *
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owplot3d.py", line 28, in <module>
from owopenglrenderer import OWOpenGLRenderer
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owopenglrenderer.py", line 19, in <module>
import OpenGL
ImportError: No module named OpenGL
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\VisualizeQt\\OWLinProjGraphQt.py'.
Could not import 'Orange.OrangeWidgets.VisualizeQt.OWNxCanvas3D'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\VisualizeQt\OWNxCanvas3D.py", line 1, in <module>
from plot.owplot3d import OWPlot3D, GL_FLOAT, GL_LINES, GL_POINTS, glEnable, GL_PROGRAM_POINT_SIZE
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owplot3d.py", line 28, in <module>
from owopenglrenderer import OWOpenGLRenderer
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owopenglrenderer.py", line 19, in <module>
import OpenGL
ImportError: No module named OpenGL
Could not import 'Orange.OrangeWidgets.VisualizeQt.OWNxExplorer3D'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\VisualizeQt\OWNxExplorer3D.py", line 9, in <module>
from OWNxExplorerQt import OWNxExplorerQt
ImportError: No module named OWNxExplorerQt
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\VisualizeQt\\OWParallelGraphQt.py'.
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\VisualizeQt\\OWPolyvizGraphQt.py'.
Could not import 'Orange.OrangeWidgets.VisualizeQt.OWScatterPlot3D'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\VisualizeQt\OWScatterPlot3D.py", line 10, in <module>
from plot.owplot3d import *
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owplot3d.py", line 28, in <module>
from owopenglrenderer import OWOpenGLRenderer
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owopenglrenderer.py", line 19, in <module>
import OpenGL
ImportError: No module named OpenGL
Ignoring 'C:\\Python27\\lib\\site-packages\\Orange\\OrangeWidgets\\VisualizeQt\\OWScatterPlotGraphQt.py'.
Could not import 'Orange.OrangeWidgets.VisualizeQt.OWSphereviz3D'.
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 296, in iter_widget_descriptions
module = asmodule(name)
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\registry\discovery.py", line 557, in asmodule
return __import__(module, fromlist=[""])
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\VisualizeQt\OWSphereviz3D.py", line 11, in <module>
from plot.owplot3d import *
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owplot3d.py", line 28, in <module>
from owopenglrenderer import OWOpenGLRenderer
File "C:\Python27\lib\site-packages\Orange\OrangeWidgets\plot\owopenglrenderer.py", line 19, in <module>
import OpenGL
ImportError: No module named OpenGL
Setting registry '<Orange.OrangeCanvas.registry.qt.QtWidgetRegistry object at 0x04CBAF60> on 'CanvasScene(objectName='', ...)'.
Created <class 'Orange.OrangeCanvas.help.provider.IntersphinxHelpProvider'> provider for Orange 2.7.8
Related
I am installing superset and at the level of superset db upgrade I got an error saying: AttributeError: 'EntryPoints' object has no attribute 'get'
Error:
python datavisual\Scripts\superset db upgrade
Traceback (most recent call last):
File "datavisual\Scripts\superset", line 18, in <module>
from superset.cli import superset
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\superset\__init__.py", line 21, in <module>
from superset.app import create_app
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\superset\app.py", line 29, in <module>
from superset.extensions import (
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\superset\extensions.py", line 126, in <module>
celery_app = celery.Celery()
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\celery\local.py", line 470, in __getattr__
[name])
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\celery\app\__init__.py", line 2, in <module>
from celery import _state
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\celery\_state.py", line 15, in <module>
from celery.utils.threads import LocalStack
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\celery\utils\__init__.py", line 16, in <module>
from .nodenames import nodename, nodesplit, worker_direct
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\celery\utils\nodenames.py", line 6, in <module>
from kombu.entity import Exchange, Queue
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\kombu\entity.py", line 7, in <module>
from .serialization import prepare_accept_content
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\kombu\serialization.py", line 440, in <module>
for ep, args in entrypoints('kombu.serializers'): # pragma: no cover
File "C:\Users\user\Desktop\superset\datavisual\lib\site-packages\kombu\utils\compat.py", line 82, in entrypoints
for ep in importlib_metadata.entry_points().get(namespace, [])
AttributeError: 'EntryPoints' object has no attribute 'get'
Traceback (most recent call last):
File "VectorMap_tool_reconstruct.py", line 18, in <module>
from osgeo import ogr
File "/usr/lib/python2.7/dist-packages/osgeo/__init__.py", line 21, in <module>
_gdal = swig_import_helper()
File "/usr/lib/python2.7/dist-packages/osgeo/__init__.py", line 17, in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: /usr/lib/libgdal.so.20: undefined symbol: GTIFFreeDefn
I have installed Anaconda2 on my windows 10 with python 2.7.15 version. Now, I need to install tensorflow and Keras, however, I am consistently getting the error while installing using "conda" or "pip". I googled it a lot about this error, but to no avail. Please help me out in finding the lead to resolving this issue. TIA, Priya Arora
The stack trace is as below:
(base) C:\Users\ARORAP1\anaconda2>conda install jupyter
Traceback (most recent call last):
File "C:\Users\ARORAP1\anaconda2\Scripts\conda-script.py", line 10, in <module
>
sys.exit(main())
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\cli\main.py", line 11
3, in main
return conda_exception_handler(_main, *args)
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\exceptions.py", line
1112, in conda_exception_handler
return_value = exception_handler(func, *args, **kwargs)
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\exceptions.py", line
822, in __call__
return self.handle_exception(exc_val, exc_tb)
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\exceptions.py", line
864, in handle_exception
return self.handle_unexpected_exception(exc_val, exc_tb)
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\exceptions.py", line
876, in handle_unexpected_exception
self.print_unexpected_error_report(error_report)
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\exceptions.py", line
947, in print_unexpected_error_report
from .cli.main_info import get_env_vars_str, get_main_info_str
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\cli\main_info.py", li
ne 25, in <module>
from ..core.subdir_data import SubdirData
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\core\subdir_data.py",
line 28, in <module>
from ..core.package_cache_data import PackageCacheData
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\core\package_cache_da
ta.py", line 13, in <module>
from .path_actions import CacheUrlAction, ExtractPackageAction
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\core\path_actions.py"
, line 25, in <module>
from ..gateways.connection.download import download
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\conda\gateways\connection\_
_init__.py", line 16, in <module>
from pip._vendor.requests import ConnectionError, HTTPError, Session
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\pip\_vendor\requests\__init
__.py", line 83, in <module>
from pip._internal.compat import WINDOWS
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\pip\_internal\__init__.py",
line 42, in <module>
from pip._internal import cmdoptions
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\pip\_internal\cmdoptions.py
", line 16, in <module>
from pip._internal.index import (
File "C:\Users\ARORAP1\anaconda2\lib\site-packages\pip\_internal\index.py", li
ne 15, in <module>
from pip._vendor import html5lib, requests, six
ImportError: cannot import name requests
(base) C:\Users\ARORAP1\anaconda2>
action#wanagow-system-124851:~/workspace$ virtualenv -p /usr/bin/python2.7 wanagow
Traceback (most recent call last):
File "/home/action/.parts/bin/virtualenv", line 5, in <module>
from pkg_resources import load_entry_point
File "/home/action/.parts/packages/python2/2.7.6/lib/python2.7/site-packages/pkg_resources.py", line 2829, in <module>
working_set = WorkingSet._build_master()
File "/home/action/.parts/packages/python2/2.7.6/lib/python2.7/site-packages/pkg_resources.py", line 451, in _build_master
return cls._build_from_requirements(__requires__)
File "/home/action/.parts/packages/python2/2.7.6/lib/python2.7/site-packages/pkg_resources.py", line 464, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/home/action/.parts/packages/python2/2.7.6/lib/python2.7/site-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: virtualenv==1.11.4
action#wanagow-system-124851:~/workspace$
How can I fix this problem ? tks
>>> import pymongo
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/pymongo-2.5.2-py2.7-macosx-10.7-intel.egg/pymongo/__init__.py", line 80, in <module>
File "/Library/Python/2.7/site-packages/pymongo-2.5.2-py2.7-macosx-10.7-intel.egg/pymongo/connection.py", line 39, in <module>
File "/Library/Python/2.7/site-packages/pymongo-2.5.2-py2.7-macosx-10.7-intel.egg/pymongo/mongo_client.py", line 44, in <module>
File "/Library/Python/2.7/site-packages/pymongo-2.5.2-py2.7-macosx-10.7-intel.egg/bson/__init__.py", line 41, in <module>
File "/Library/Python/2.7/site-packages/pymongo-2.5.2-py2.7-macosx-10.7-intel.egg/bson/_cbson.py", line 7, in <module>
File "/Library/Python/2.7/site-packages/pymongo-2.5.2-py2.7-macosx-10.7-intel.egg/bson/_cbson.py", line 4, in __bootstrap__
File "build/bdist.macosx-10.7-intel/egg/pkg_resources.py", line 914, in resource_filename
%s
File "build/bdist.macosx-10.7-intel/egg/pkg_resources.py", line 1601, in get_resource_filename
"""Retrieve a PEP 302 "importer" for the given path item
File "build/bdist.macosx-10.7-intel/egg/pkg_resources.py", line 1629, in _extract_resource
from pkgutil import get_importer, ImpImporter
File "build/bdist.macosx-10.7-intel/egg/pkg_resources.py", line 990, in get_cache_path
AttributeError: ResourceManager instance has no attribute '_warn_unsafe_extraction'