简体   繁体   中英

How do I fix an 'ImportError: No module named imbox' exception

from imbox import Imbox

results in an ImportError: No module named imbox .

How can i resolve this error?

This means that package imbox is not installed.

You can install it, using this command:

pip install imbox

I don't think imbox is an automatically installed package. Try installing imbox first by typing

pip install imbox

in your command prompt

This is because you dont have imbox installed. You can do this using pip in your commandline.

Depending on your pip version the command is either:

pip install imbox

or if your pip version is higher 3

pip3 install imbox

find out your pip version with

pip --version

If you dont even have pip installed you can findout how here: https://pip.pypa.io/en/stable/installation/

the issue seems weird,but what caused the issue was i created just a file.py and started coding in that, creating a new project and then the file resolved the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM