FileNotFoundError SimConnect.dll
Innercode opened this issue · comments
Innercode commented
Hi,
I getting an error when I try to initiate SimConnect.
sm = SimConnect()
The error: FileNotFoundError: Could not find module 'C:\Code\SimConnect\venv\Lib\site-packages\SimConnect\SimConnect.dll' (or one of its dependencies). Try using the full path with constructor syntax.
The path is correct. Tried to replace the dll with a fresh SimConnect.dll from the SDK but the error stil exists.
Python version
Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] on win32
Innercode commented
Fixed it!
Was missing Visual C++ Redistributable for Visual Studio 2015