enthought - Cannot launch Canopy in GNU/Linux (openSUSE 12.3) -
after installation, when do
$ ~/canopy/canopy
i
traceback (most recent call last): file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/__boot__.py", line 9, in <module> sys.exit(main()) file "build/bdist.linux-x86_64/egg/canopy/app/bootstrap.py", line 1335, in main file "build/bdist.linux-x86_64/egg/canopy/app/bootstrap.py", line 1315, in send_bug_report file "build/bdist.linux-x86_64/egg/canopy/feedback/data_reporter.py", line 390, in start file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/enaml/core/import_hooks.py", line 131, in load_module exec code in mod.__dict__ file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/canopy/feedback/data_reporter_view.enaml", line 4, in pyface.api import clipboard file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/api.py", line 16, in <module> about_dialog import aboutdialog file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/about_dialog.py", line 18, in <module> toolkit import toolkit_object file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/toolkit.py", line 73, in <module> _init_toolkit() file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/toolkit.py", line 38, in _init_toolkit = import_toolkit(etsconfig.toolkit) file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/toolkit.py", line 31, in import_toolkit __import__(be + 'init') file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/ui/qt4/init.py", line 18, in <module> pyface.qt import qtcore, qtgui, qt_api file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/qt/__init__.py", line 35, in <module> prepare_pyqt4() file "/home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/lib/python2.7/site-packages/pyface/qt/__init__.py", line 16, in prepare_pyqt4 import sip importerror: no module named sip ~/canopy/canopy: command not found
when this
$ ~/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/bin/ipython
i following weird error:
zsh: /home/joon/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/bin/ipython: bad interpreter: /home/builder/jenkins/workspace/canopy_app/arch/x86_64/label/l: no such file or directory ~/canopy/appdata/canopy-1.0.0.1160.rh5-x86_64/bin/ipython: command not found
i have tried reinstall 10 times no luck.
to run ipython user virtual environment, see these: https://support.enthought.com/entries/23646538-make-canopy-s-python-be-your-default-python-i-e-on-the-path- http://docs.enthought.com/canopy/configure/faq.html#where-are-all-of-the-python-packages-in-my-user-python-environment
regarding canopy startup problem, apparently you're telling canopy use pyqt (which not installed) rather pyside (which is, , default); perhaps setting qt_api
environment variable. if clear first, or else set thus?: export qt_api=pyside
Comments
Post a Comment