V
V
vovashaplin2020-04-26 14:01:34
Python
vovashaplin, 2020-04-26 14:01:34

pip not working in powershell (just want to install virtualenv)?

The bottom line is that I want to put a python virtualenv,
I write a command in PowerShell, I open it in the project folder via Shift
pip install virtualenv
, it answers that the name "pip" is not recognized
I already have python 3.8 installed at the location C:\Users\Trimm\AppData\Roaming\ Microsoft\Windows\Start Menu\Programs\Python 3.8
Tried to write

setx PATH "%PATH%;C:\Users\Trimm\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8"

does not help

yet tried to write
npm install pip virtualenv
After that, the installation goes on and shows the versions of pip and virtualenv
but still PowerShell does not respond to
virtualenv my-venv

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MaxKozlov, 2020-04-26
@vovashaplin

where pip?
under Windows, the paths are usually %somepath%\Python.exe , but %somepath%\Scripts\Pip.exe , respectively, %somepath%\Scripts\ should also be in PATH
In general, Powershell has nothing to do with it. but you can see the paths in it if anything like$env:PATH

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question