twitchtv / igdb-api-python

Python wrapper for IGDB API version 4
MIT License
74 stars 9 forks source link

Library not being correctly imported #6

Closed scarm01 closed 3 years ago

scarm01 commented 3 years ago

Hello, I have a problem with this library. I am following the example in the README file, in particular the section called "Using your Twitch Credentials".

When I try to run the script, I get the following error: ModuleNotFoundError: No module named 'igdb.wrapper'; 'igdb' is not a package

❯ python -V Python 3.9.0

ReenigneArcher commented 3 years ago

You need to install the module or put the igdb module folder in the same folder as your python script.

felixnorden commented 3 years ago

Thanks @ReenigneArcher for giving this pointer!

Sorry for the late reply @benzgrant, have things been resolved for you, or would you still like some help? :)

dustyjewett commented 3 years ago

Closing on the assumption that the problem is resolved. Please re-open if you need more help.

azuravian commented 2 years ago

I was getting this same error and found what the problem might be if others are experiencing this. Do not name any of your .py files igdb.py. This causes a circular import.