PyCharm plugins for Robot Framework may be outdated/unmaintained.
But even if IDE reports error in importing library, your test suite may be fine. Just test if it works with robot from command line/shell/terminal.
These days, the most used IDE is Visual Studio Code, with plugin Robot Code.
Another option, is to use the specific for Robot Framework IDE (not a generic or programming languages, IDE), RIDE.