0

python Traceback

https://code.sololearn.com/cm01A6y6QnzS i put in from inventory import Inventory Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> from inventory import Inventory ModuleNotFoundError: No module named 'inventory' i dont get why please help

28th Feb 2019, 4:53 PM
Shmuel israel Zilberman
Shmuel israel Zilberman - avatar
2 Respuestas
0
Can you describe please? From where you tried to import inventory? It's maybe happened for directory structure.
28th Feb 2019, 5:25 PM
Rakibul Yeasin
Rakibul Yeasin - avatar
0
From the same place I called the file inventory
28th Feb 2019, 7:00 PM
Shmuel israel Zilberman
Shmuel israel Zilberman - avatar