I'm trying to make an api for Pokemon, and I was thinking of packaging it, but no matter what I do, as soon as I try to import from this file, it comes up with this error.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/student/anaconda3/lib/python3.6/site-packages/pokeapi/__init__.py", line 1, in <module>
from Pokemon import *
ModuleNotFoundError: No module named 'Pokemon'
The directory is like this:
/pokeapi
/pokeapi
__init__.py
Pokemon.py
setup.py
I install it with pip, and that error comes up.
Code for init.py:
from Pokemon import *
Code for Pokemon.py: https://hastebin.com/qegupucuma.py
I don't know what I'm doing wrong