bnjmnp / pysoem

Cython wrapper for the Simple Open EtherCAT Master Library
MIT License
95 stars 36 forks source link

pysoem ImportError: DLL load failed #120

Closed Michaelicious closed 9 months ago

Michaelicious commented 9 months ago

Trying to run my program using pysoem. It worked for a good while, and suddenly it decided that something is not right.

Running my code would result in ImportError: DLL load failed while importing pysoem: The specified module could not be found.

Tried deleting everything; Python, VS Code, ALL Microsoft Visual C++ Redistributable, and re-installing it. Re-installed Python, used venv, reinstalled C++ Redistributable 2022 and than re-installed pysoem. Still getting the same error.

Worth mentioning it happens only with pysoem. Any advice ?

That's what inside the pysoem init.py version = '1.1.4' from .pysoem import *

Michaelicious commented 9 months ago

Updating Npcap to latest version solved the missing DLL issue.