[Resolved] Resolve bazel dependencies: Import "..." could not be resolved #8557
Unanswered
nathanlima
asked this question in
Q&A
Replies: 1 comment
-
I fixed it putting the bazel's dependencies folder's path in the "extraPaths". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should Pyright work with dependencies managed by bazel?
I have a bazel project and some dependencies are injected using http_archive. For example, the name of one of these dependencies is "my_dependency". In the BUILD file, I inject this dependency using "@my_dependency". In the python script I use "import my_dependency", and everything works ok.
But, using pyright command line, i've got the error
Import "my_dependency" could not be resolved
.Thank you all!
Beta Was this translation helpful? Give feedback.
All reactions