PyNorch icon indicating copy to clipboard operation
PyNorch copied to clipboard

Issue when importing norch: OSError: [WinError 193] %1 is not a valid Win32 application

Open StefanoBraghetto opened this issue 9 months ago • 1 comments

Hey Lucas, Congrats for such a great work again.

I'm having an issue when importing the library. But it's very likely is environment issue. Because I have been having troubles with other libraries as well. Just posting it here in case you can confirm this:

import norch

File ~\anaconda3\envs\name_env\Lib\site-packages\norch_init_.py:1 from norch.tensor import Tensor

File ~\anaconda3\envs\name_env\Lib\site-packages\norch\tensor.py:15 class Tensor:

File ~\anaconda3\envs\name_env\Lib\site-packages\norch\tensor.py:17 in Tensor _C = ctypes.CDLL(os.path.join(module_dir, "libtensor.so"))

File ~\anaconda3\envs\name_env\Lib\ctypes_init_.py:379 in init self._handle = _dlopen(self._name, mode)

OSError: [WinError 193] %1 is not a valid Win32 application

Thanks! Stefano

StefanoBraghetto avatar May 18 '24 16:05 StefanoBraghetto