FKatenbrink / degiro-api

An unofficial DeGiro API module for Python.
MIT License
16 stars 9 forks source link

ModuleNotFoundError: No module named 'degiro' #2

Open aravindnadumane opened 4 years ago

aravindnadumane commented 4 years ago

I installed your api using "python -m pip install degiro-api", and used the example as in the main logging. the python throws

Traceback (most recent call last):
  File "degiro_api.py", line 1, in <module>
    from degiro import DeGiro
ModuleNotFoundError: No module named 'degiro'

looks like the module name "degiro-api" and module being imported in the python 'degiro' is discrepant.

PS: i'm a perl scripter and there it works everything out of the box and python is quite new and bizzare and not so straight forward

kruzzik commented 4 years ago

Same problem here. Installed the package. Pip list shows degiro-api 0.1 When I try to use it: from degiro import DeGiro ModuleNotFoundError: No module named 'degiro'

Thanks in advance for any clarification.

MPeek1995 commented 4 years ago

same here!

EDIT: at first i'm still a beginner with python. I noticed something different when i looked at the packages installed by pip install degiro-api. Every other package i installed, for example matplotlib, has a second folder with the name of the package with ' pycache ' and ' init ' files in it. degiro-api doesnt have such a folder with these files, only a folder with files called INSTALLER and METADATA. Could this be part of the problem?