简体   繁体   中英

pip package manager(python environments) inside visual studio 2019

I have put the.pypirc file in all the locations (project folder, C:\users\, in the root folders of all python environments) but still in Visual Studio 2019 when I click on Manage Python Packages as shown in the image, I do not find the Azure devops feed even though the azure devops feed is present in all the pypirc files as shown below. python package sources . As seen it only list pypi and conda sources. Why doesn't it show the azure devops feed source.

Why doesn't it show the azure devops feed source.

As I know VS itself doesn't have the option to support creating new package source like what Nuget supports . So something like Packages(MyFeed) in search box is not supported:

在此处输入图像描述

And I think that's why you can't see the feed source in UI. But it still supports searching packages in VS, you can check this one for more details about how to connect to the feed. If you're following the document well to connect to the feed, it will automatically try to search the package from PYPI and your custom feed:

在此处输入图像描述

在此处输入图像描述

Note: The .pypirc is used for Twine upload instead of Pip install .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM