Installing comtypes

The following instructions apply to:
  • Gatan CCD cameras using the pyscope module starting with svn r17592
  • FEI cameras (Eagle,Falcon) using the pyscope module starting with svn r17589

Prior to those revisions, the comarray package was required. You no longer need to install comarray. Instead, you must install comtypes, available here:

Be careful not to accidentally download the py3 version. Install it from the exe installer, or unzip the source and install using the installer. The same package should work with any 2.* version of python.

IMPORTANT: After installing comtypes, you must make one modification to it. The module "" that comes with comtypes must be replaced with a modified version that we provide. You can find the custom version of in the pyscope package. Please copy this module from pyscope into the installed comtypes folder: C:\Python2*\Lib\site-packages\comtypes\. It should replace the that is included in comtypes.

Updated by Jim Pulokas about 11 years ago ยท 1 revisions