Skip to content

The from-index subcommand requires nab-index and nab-project (but they are installed already!) #697

Description

@DiegoBaldassarMilleuno

What pipdeptree version are you using?

4.2.3

Are you running pipdeptree in a virtual environment?

No

Describe the problem

Running pipdeptree i pipdeptree yields the following error message:

The from-index subcommand requires nab-index and nab-project

but the packages are already installed; result from pip list, summarized:

Package                   Version
------------------------- -----------------
...
build                     1.6.0
...
installer                 1.0.1
...
nab-index                 0.0.16
nab-markersets            0.0.16
nab-project               0.0.16
nab-provider              0.0.16
nab-resolver              0.0.16
...
packaging                 26.3
...
pipdeptree                4.2.3
...
pyproject_hooks           1.2.0
...
tomli                     2.4.1
tomli_w                   1.2.0
...
truststore                0.10.4
...
typing_extensions         4.16.0
...
urllib3                   2.7.0
...

It seems that the error comes from import nab_project.config, it no longer works as of nab-project version 0.0.16.
I managed to reproduce this problem on macOS Tahoe 26.6.2 and Fedora 44.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions