Skip to content

Getting "import-error" for package that exists in pipenv #1337

Description

@garyking

I've got a project, where pipenv is setup. In pipenv, the timeago package is installed, but it's not installed in my global pip.

So at the top of my file, it gives me the error: E0401:Unable to import 'timeago' even though it does actually exist, in the pipenv.

Is it possible to point pylint to the pipenv copy of all packages, so that this error does not occur? Otherwise, it would be nice to be able to do so.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions