Unable to Install Package from Azure DevOps Artifacts Feed Using Pip

Sumit Bhardwaj 40 Reputation points
2025-07-03T23:27:15.2866667+00:00

Hi,
I'm trying to install a package hosted in my Azure DevOps Artifacts feed into my local Python environment using pip, using the following command:

pip install auth-app-streamlit==2.0.1 \   --extra-index-url https://<PAT>@pkgs.dev.azure.com/ProjectName/_packaging/Apps39/pypi/simple/ \   --index-url https://pypi.org/simple

but I'm encountering the following error:

ERROR: Could not find a version that satisfies the requirement auth-app-streamlit==2.0.1 (from versions: none)
ERROR: No matching distribution found for auth-app-streamlit==2.0.1

Here are the key details:

  • The package auth-app-streamlit==2.0.1 is published and visible in the Azure Artifacts feed.
  • I’m using a valid Personal Access Token (PAT) with read access to the package feed.
  • My pip install command includes the Azure DevOps feed URL via --extra-index-url, and I also include the default PyPI index using --index-url https://pypi.org/simple.

Despite all of this, the package is not found. Has anyone encountered this issue before or can provide guidance on how to properly authenticate and install from an Azure DevOps feed using pip?

Thanks in advance!

Azure DevOps
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.