Skip to content

Trouble running on Windows with EPD7.3 64, Canopy 64 #1

@rsignell-usgs

Description

@rsignell-usgs

On Windows I tried to get this going with the EPD7.3 release and the Canopy 64 release. If I open a command window, neither python necofs_models.py or python enaml_gui.py is working. Here's what I get:

  1. For necofs_model.py:

c:\Users\rsignell\Documents\GitHub\NECOFS>python necofs_model.py
Traceback (most recent call last):
File "necofs_model.py", line 40, in
import matplotlib.pyplot as plt
File "C:\python27_epd64\lib\site-packages\matplotlib\pyplot.py", line 97, in <
module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()

File "C:\python27_epd64\lib\site-packages\matplotlib\backends__init__.py", li
ne 25, in pylab_setup
globals(),locals(),[backend_name])
File "C:\python27_epd64\lib\site-packages\matplotlib\backends\backend_qt4agg.p
y", line 13, in
from backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,
File "C:\python27_epd64\lib\site-packages\matplotlib\backends\backend_qt4.py",
line 24, in
from qt4_compat import QtCore, QtGui, _getSaveFileName, version
File "C:\python27_epd64\lib\site-packages\matplotlib\backends\qt4_compat.py",
line 36, in
import sip
ImportError: No module named sip

2, For enaml_gui.py:

c:\Users\rsignell\Documents\GitHub\NECOFS>python enaml_gui.py
Traceback (most recent call last):
File "enaml_gui.py", line 4, in
from necofs_model import OceanModel
File "c:\Users\rsignell\Documents\GitHub\NECOFS\necofs_model.py", line 58, in

from enthought.traits.ui.qt4.editor import Editor
File "C:\python27_epd64\lib\site-packages\enthought\traits\ui\qt4__init__.py"
, line 25, in
import toolkit
File "C:\python27_epd64\lib\site-packages\enthought\traits\ui\qt4\toolkit.py",
line 2, in
from traitsui.qt4.toolkit import *
File "C:\python27_epd64\lib\site-packages\traitsui\qt4__init__.py", line 24,
in
import toolkit
File "C:\python27_epd64\lib\site-packages\traitsui\qt4\toolkit.py", line 22, i
n
assert_toolkit_import('qt4')
File "C:\python27_epd64\lib\site-packages\traitsui\toolkit.py", line 60, in as
sert_toolkit_import
"backend!" % (name, ETSConfig.toolkit)
RuntimeError: Importing from qt4 backend after selecting wx backend!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions