Reputation: 1
from box.exceptions import BoxValueError
Results in an error: ModuleNotFoundError: No module named 'box.exceptions'
.
How can I resolve this error?
I tried pip install --upgrade box
.
But still got the Error message.
(box is a Python module)
Upvotes: -1
Views: 186
Reputation: 1
I would recommend running 'pip show python-box (or box)' to see if the package was initially installed correctly, that way it will tell you if the box module needs reinstallation -- that may be why the upgrade command did not work.
It will also be useful to double check your environment to make sure that the environment where you run the code is the same one where the package is installed. If you are using a virtual environment, activate it before running the code
Upvotes: 0