Unresolved library:

Hi ,

I am new to robot and getting

Unresolved library: cxxx. Error generating libspec: Importing library 'cxxx failed: ModuleNotFoundError: No module named ‘xxx’ Consider adding the needed paths to the “robot.pythonpath” setting and calling the “Robot Framework: Clear caches and restart” action.

The lib is present under
[“C:/Users/akrpand/AppData/Local/Programs/Python/Python310/Lib/site-packages”]

and I added this path in robot .python path too
but still the error is not resolved.

Using windows and pycharm

If libraries are installed correctly to the active python interpreter you should not get an error like this.

My advice; read this: Configure a virtual environment | PyCharm Documentation

and then install all your dependencies into that venv.

2 Likes