EodHistoricalData / EODHD-APIs-Python-Financial-Library

MIT License
38 stars 14 forks source link

ModuleNotFoundError: No module named 'eodhd.APIs' #5

Closed posidonius closed 1 year ago

posidonius commented 1 year ago

As per documentation:

from eodhd import APIClient

results in this error:

ModuleNotFoundError: No module named 'eodhd.APIs'

Somehow it is not recognizing the APIs submodule.

Nawado commented 1 year ago

Hi. Can you please tell me what version of the library you are using? You can find out if you enter pip freeze into the console.

And it would also help me solve the problem if I find out how you installed the library? Via pip or from github?

posidonius commented 1 year ago

Thanks for the response! I am using the most recent version eodhd-1.0.11. I installed it using pip and have it installed in a pipenv virtual environment.

Nawado commented 1 year ago

Please try to upgrade version to 1.0.12. With new version this should work

posidonius commented 1 year ago

Great, that patch resolves the error. Thank you!

Just FYI, this package's dependencies are incompatible with the eodhdc library and both cannot be installed in the same project.