ImportError: No module named can but it's there according to pip list
Asked Answered
A

2

10

I have in python the error:

ImportError: No module named can

but the strange is that when I check it with pip list in the environment all these libraries are installed:

screenshot

As you can see in the screenshot, it tells me that the can library is not found, but when I check it with pip list

Achaemenid answered 21/11, 2018 at 20:40 Comment(2)
use python3 in you callVital
Additionally, while it is not required, resizing your console window before taking the screenshot would help in identifying the command you have runGlede
S
1

You are looking pip3 (python 3) list, but program working with python 2.7. You need to install the package with pip command.

Shirlshirlee answered 21/11, 2018 at 20:44 Comment(2)
See now the screenshot, I have tried with that too.Achaemenid
@VictorCallejas I think it is related to your virtual env. Therefore please try answers on link #46752988.Shirlshirlee
E
0

my issue was missing __init__ file in the package I want to import

Exposed answered 6/2 at 23:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.