Skip to content

It always says that the module cannot be found #2

@yfcck

Description

@yfcck
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\Python312\Lib\site-packages\MetaTrader5\__init__.py", line 258, in <module>
    from ._core import *
ImportError: DLL load failed while importing _core: module could not be found.

c++ 20
python 3.12
win10

There should be no problem with your code.

There is a problem with my local environment.

Whether using rust, go, java, or c++,
I cannot import MetaTrader5.

I always get
ImportError: DLL load failed while importing _core: module could not be found.

Is there any solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions