This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
VSCode reporting unresolved import on local package #669
Closed
Description
I'm using VSCode with the python language plugin and using a conda environment. The project is set up to use the conda environment's interpreter. I installed a local package into that conda environment recently, using python setup.py install
. This package is now getting reported as an unresolved import in VSCode.
Howevert, the package imports correctly inside VSCode from VSCode's terminal, as well as by running the file (right click -> run file in terminal). See screenshot:
This SO question appears to be describing a very similar problem, so I'm not the only one seeing this issue.