Python err??? why?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python err??? why??

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

27th Feb 2019, 6:41 PM
Shmuel israel Zilberman
Shmuel israel Zilberman - avatar
1 Answer
+ 4
try adding inventory.py to site-packages
27th Feb 2019, 7:21 PM
Mert Yazıcı
Mert Yazıcı - avatar