Hi, There is a problem. I've installed django-cart into my project. And in views.py, I import it as:
from cart.cart import Cart
But it keeps showing that in the cart.py, ModuleNotFoundError, which is related to this line:
There is a models.py located at the same folder with cart.py, the folder is
And I also try to add this path to the sys.path, which makes my sys.path looks like this:
['', '/home/adrop/venv/lib/python36.zip', '/home/adrop/venv/lib/python3.6', '/home/adrop/venv/lib/python3.6/lib-dynload', '/usr/lib/pyth on3.6', '/home/adrop/venv/lib/python3.6/site-packages', '/home/adrop/venv/lib/python3.6/site-packages/cart']
And it refused to find models.py as well.
So, is there anything I missed?