Skip to content

Building a Python (Conda) environment from requirements.txt in visual studio and linking environments to projects option #7997

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


I would like to suggest an option for Visual Studio where the user can perform a "Full/Clean" rebuild of a Python (Conda) environment using the requirements.txt. I have experience where I rebuild a Python (Conda) environment using the requirements.txt file, but after the rebuild the generated requirements.txt file is different than that used in the rebuild. Sometimes the rebuilds do not seem to match the environment.txt that I see in Visual Studio (perhaps Visual Studio could ask the user to save the Requirements.txt file when selecting the option to rebuild using the Requirements.txt file. Please feel free to send a link that addresses the challenges of modifying the Python Environment.

I would also suggest that Visual Studio provide an option where the virtual environment is specifically linked to the project, i.e., an option where each new project will have its own virtual environment. This would be useful to users using shared computing resources. Thank you.


Original Comments

Feedback Bot on 9/2/2024, 00:37 AM:

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. You will hear from us in about a week on our next steps.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions