Skip to content

ImportError: cannot import name windll on Macos X #80

Closed
@sebma

Description

@sebma

Hi,

I have installed Picoscope Beta v6.11.13.2 (the drivers are included)

I'm using Macos X 10.12.5 and when I try to :

ps = ps2000.PS2000(), I get this error :

In [3]: ps = ps2000.PS2000()
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-3eb67f4a7698> in <module>()
----> 1 ps = ps2000.PS2000()

/usr/local/lib/python2.7/site-packages/picoscope/ps2000.pyc in __init__(self, serialNumber, connect)
    128             self.lib = cdll.LoadLibrary("lib" + self.LIBNAME + ".so")
    129         else:
--> 130             from ctypes import windll
    131             self.lib = windll.LoadLibrary(self.LIBNAME + ".dll")
    132

ImportError: cannot import name windll

Can you help me ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions