Tim Rae
Tim Rae

Reputation: 3186

wx.lib.activex fails to import using Enthought Canopy and EPD

import wx.lib.activex fails with the supplied version of wx in Enthought Canopy or EPD on Windows. How can I get the activex container to work with the Enthought Python Distributions?

Upvotes: 0

Views: 192

Answers (1)

Tim Rae
Tim Rae

Reputation: 3186

First of all, it's necessary to install comtypes, which is a dependency not available through the Enthought package manager.

The more serious problem however, is that Enthought seem to have erroneously omitted the two myole4ax.* files which are necessary to use the activex container in wx Python. You can copy these files by downloading the wxPython-src tarball from the project page, and copying the two myole4ax.* files (e.g. from wxPython-src-2.8.12.1\wxPython\wx\lib) to the %python root%\Lib\site-packages\wx\lib folder.

Upvotes: 0

Related Questions