I'm new to RobotFramework. I installed vs code with robocorp extensions. i also installed several libraries like:
the issue is that some libraries are not imported as expected, like:
However,
imported without errors what am i doing wrong?
see screenshot attached:
screencaplibrary jsonlibrary
It seems like you haven't set your pythonpath for robotframework.
To do this go to the Robot Framework Language Server extension and go to extension settings.
In there you'll find: Robot > Language-server: Python

and: Robot > Python: Executable

Set both of them to your python.exe path and restart vsc.
For Pycharm, please go to languages & frameworks in settings and update/add the python path for the field Language Server Python.

In order to get these options within the languages & frameworks-section, you will need to have the Robot Framework Language Server plugin installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With