Skip to content

pyright: import "pandas" could not be resolved #6646

Closed Answered by geoqiao
jychen6688 asked this question in Q&A
Discussion options

You must be logged in to vote

If you are managing Python environment using RyePoetry or PDM, add the following to your pyproject.toml file:

[tool.pyright]
venvPath = "."
venv = ".venv"

Here is a similar Q&A(https://github.com/zed-industries/community/discussions/1601) that you can refer to.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Gufran2809
Comment options

Answer selected by JosephTLyons
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
editor Feedback for code editing, formatting, editor iterations, etc python Python programming language support language An umbrella label for all programming languages syntax behaviors
5 participants