Cannot import name 'PluginParser' from 'robotlibcore'

The Browser library stopped working. I then tried to upgrade it. I uninstalled and reinstalled it. I even reinstalled pip but nothing.
When I launch the command: rfbrowser init
the error comes out:
from robotlibcore import DynamicCore, PluginParser # type: ignore
ImportError: cannot import name ‘PluginParser’ from ‘robotlibcore’ (C:\Users<user>\AppData\Local\Programs\Python\Python39\Lib\site-packages\robotlibcore_init_.py)

What can I do? We are blocked and can’t run automatic tests
Thank you,
Alex

anyone please?

@AleRobot95
Can you try this
pip install -U robotframework-browser
rfbrowser clean-node
rfbrowser init

What version of robotframework-pythonlibcore you have on your environment ?

those commands failed with the error mentioned in the subject:

Name: robotframework-pythonlibcore
Version: 4.2.0

@AleRobot95 Looks like your Python installation is corrupt. What about deinstalling Python and installing version 3.11?

1 Like

And then reinstall Robot Framework and the libraries you were using.

It worked. As usual the hammer on the head works :slight_smile: