Home:ALL Converter>how i can i solve no module named can error?

how i can i solve no module named can error?

Ask Time:2022-07-06T09:36:42         Author:babo

Json Formatter

hello i'm using python 3 and ros noetic, and i got this error

import can
ImportError: No module named can

I've got this error before, and I solved it through a very simple can-bus related installation command in google. But I can't find that command now I've tried all the like $ sudo apt install python3-can. but I can't fix it at all

thank you................

Author:babo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/72877077/how-i-can-i-solve-no-module-named-can-error
foreverandthreedays :

The problem is, that the module can't be found by your python.\nfirst, try to remove the package with:\npip uninstall python-can\n\nand re-install it with\npip install python-can\n\nIn case you have several versions of python installed (such as python2 and python3) make sure, you use\npip3 \n\ninstead of pip.\nNext you can try to manually search your package directories for the package, if it is even there.",
2022-07-06T06:53:09
yy