Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: [WinError 193] %1 n’est pas une application Win32 valide #63

Closed
NourEddy opened this issue Nov 4, 2019 · 1 comment
Closed

Comments

@NourEddy
Copy link

NourEddy commented Nov 4, 2019

Hello, when I import openslide I get this error
import openslide
Traceback (most recent call last):

File "", line 1, in
import openslide

File "C:\Users\China\Anaconda3\envs\machine\lib\site-packages\openslide_init_.py", line 29, in
from openslide import lowlevel

File "C:\Users\China\Anaconda3\envs\machine\lib\site-packages\openslide\lowlevel.py", line 41, in
_lib = cdll.LoadLibrary('libopenslide-0.dll')

File "C:\Users\China\Anaconda3\envs\machine\lib\ctypes_init_.py", line 426, in LoadLibrary
return self._dlltype(name)

File "C:\Users\China\Anaconda3\envs\machine\lib\ctypes_init_.py", line 348, in init
self._handle = _dlopen(self._name, mode)

OSError: [WinError 193] %1 n’est pas une application Win32 valide

@hkpeprah
Copy link
Contributor

hkpeprah commented Nov 4, 2019

This isn't the openslide project unfortunately. Seems like the library file (DLL) is not made for 32-bit Windows though; probably 64-bit only.

@hkpeprah hkpeprah closed this as completed Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants