OpenDrift / opendrift

Open source framework for ocean trajectory modelling
https://opendrift.github.io
GNU General Public License v2.0
249 stars 120 forks source link

importe "cmocean" could not be resolved #1086

Closed Alonso112358 closed 1 year ago

Alonso112358 commented 1 year ago

Hi, I'm new using Open Drift, and I installed using conda(WSL) with VScode, but there is some warnings when I performance the test run, like example_leeway. There is a message for "cmocean" that says "import cmocean could not be resolved" image

knutfrode commented 1 year ago

Hi, I guess this is a problem with Pylance, and not with OpenDrift.

Maybe this will help: https://stackoverflow.com/questions/68486207/import-could-not-be-resolved-could-not-be-resolved-from-source-pylance-in-vs-cod