Skip to content
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
@MatejVitek

Description

@MatejVitek

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:

screenshot from 2019-02-27 16-18-14

This SO question appears to be describing a very similar problem, so I'm not the only one seeing this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions