Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You can't use pip in a normal environment with cmd to view help, install other libraries, etc #7682

Closed
vsfeedback opened this issue Jul 26, 2023 · 1 comment

Comments

@vsfeedback
Copy link

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


[severity:It's more difficult to complete my work]
Instead of using pip in a normal environment to view help, install other libraries, etc., I have to add two files named C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\Scripts and C:\Program Files (x86)\Microsoft Visual Studio\ Shared\Python39_64 variable, the following picture is the changed variable.


Original Comments

Feedback Bot on 7/19/2023, 01:49 AM:

(private comment, text removed)


Original Solutions

(no solutions)

@StellaHuang95
Copy link
Contributor

Hi there, it is expected. In order to run the pip command in the Command Prompt (cmd), you need to ensure that the directory containing the pip executable is added to your system's PATH environment variable. By doing so, you enable the Command Prompt to locate and execute the pip command from any directory.

Please reopen the ticket if you have any PTVS specific problems. Thanks!

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

No branches or pull requests

2 participants