For my Smart Home Project I need the CAN module. I have some working scripts written 2020 with Geany directly on my Raspi. I imported the CAN modul via PIP as I remember. But now I have PyCham and I have to change something in the old scripts. But how to get CAN tp PyCharm. I can not find it in the market place.
Ah, that’s the trouble with an IDE. It makes things so simple, you can’t figure out how to do them any more.
If the module came via pip
previously, the PyCharm marketplace sounds like the wrong place to look. That would be for PyCharm plug-ins.
If the package you need is here: https://pypi.org/search/?q=CAN, then you can install it with pip
. But I don’t know how to do that in the way that PyCharm wants, because, in my experience, if you import a module in PyCharm, and you haven’t installed the package from PyPI that contains it, it points out the error, and offers to get the package for you, using pip
behind the scenes.
Installing using pip
at the command prompt may not put the package in the place PyCharm needs it. Unless you understand what PyCharm is doing, it’s best to leave it in control.
Edit: being a bit more careful in my use of “module” and “package”
Thank you, you easy. set cursor in the needed package and PyCharm ask if it should install install
Good. 90% sure it would be.