the reason why from pixabay import pixabay_parse_resp in wallie.py returns import error is because it conflicts with the actual python-pixabay's module name itself. wallie.py probably is confused on which 'pixabay' module to import, either from your own pixabay.py or python-pixabay's pixabay.py. So, renaming should fix the problem.
the reason why
from pixabay import pixabay_parse_resp
in wallie.py returns import error is because it conflicts with the actual python-pixabay's module name itself. wallie.py probably is confused on which 'pixabay' module to import, either from your own pixabay.py or python-pixabay's pixabay.py. So, renaming should fix the problem.