-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed pip package is not resolved by Pylance #6669
Comments
Thanks for the issue. According to the log, this is the current interpreter you have set:
Is that where the package is installed? How did you pick your interpreter? The UI you're showing in the screenshot isn't the normal UI for picking one. Here's the log output for Pylance failing to find the
|
How is virtualenv To set the virtualenv I used this flow Following is my workspace configuration {
"folders": [
{
"path": "servers"
},
{
"path": "firespotter/prober"
},
{
"path": "plivo"
},
{
"path": "firespotter/fst2"
},
{
"path": "kamailio"
},
{
"path": "interactiveconsole"
}
],
"settings": {
"python.analysis.extraPaths": ["/Users/anupamghosh/workspace/dialpad/firespotter/fst2"],
}
} |
pylance.could.not.resolve.movIt still didn't work |
Environment data
Repro Steps
Expected behavior
Pylance should be able to read installed pip packages under a virtual environment
Actual behavior
import pip packages under a virtual environment are not resolved by pylance
Logs
Here is the log link for that
The text was updated successfully, but these errors were encountered: