Skip to content

WindowsError when importing openslide using 64-bit version #23

@macmatt22

Description

@macmatt22

Context

Issue type (bug report perhaps?):
Operating system (Windows 10):
Platform (64-bit):
OpenSlide version (2016-7-17 64 bit release):
Slide format (NA):

Details

Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "C:\dev_res\python\python2_713\lib\site-packages\openslide\__init__.py", line 29, in <module>
        from openslide import lowlevel
    File "C:\dev_res\python\python2_713\lib\site-packages\openslide\lowlevel.py", line 41, in <module>
        _lib = cdll.LoadLibrary('libopenslide-0.dll')
    File "C:\dev_res\python\python2_713\lib\ctypes\__init__.py", line 440, in LoadLibrary
        return self._dlltype(name)
    File "C:\dev_res\python\python2_713\lib\ctypes\__init__.py", line 362, in __init__
        self._handle = _dlopen(self._name, mode)
WindowsError: [Error 127] The specified procedure could not be found'

I installed the OpenSlide binaries and added the bin folder to my system path. I then installed python-openslide using pip. I tried same workflow with Python 3.5.3 and encountered the same problem. Interestingly, when I tested this with the 32-bit version of Python(2.7)/OpenSlide I did not have this issue. However, I have a 64-bit machine and would prefer to use the 64-bit versions.

Not sure if this is a bug or is specific to my configuration. Any help would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions