Import olympe.messages could not be resolved

Hi,

when I try to run the olympe example script takeoff.py Visual Studio Code tells me, that it cannot resolve the olympe.messages module:

I’ve installed the olympe package using pip in a virtual environement and the script runs without any problems but intellisense fails to resolve the import. What am I missing?

Make sure that you have set the correct interpreter for the project (Ctrl+Shift+P → search interpreter → select the correct conda environment)
I have the same problem, VSCode doesn’t resolve any olympe imports, but when I run the code it works fine.

Hi,
thanks for your reply. The interpreter is set to the correct venv environment. Unfortunately the warning is still shown.

This topic was automatically closed after 30 days. New replies are no longer allowed.