2 ms·
You need to manually add the directory containing pip and other tools to the path. If it is not, you can often do python -mpip install xxxxx And you're right
by stuaxo 11y ago
You need to manually add the directory containing pip and other tools to the path.
If it is not, you can often do python -mpip install xxxxx
And you're right there are some gotchas - for instance pip install -U pip won't work to update pip itself as on Windows a program can't seem to overwrite it's own executable.
- tclancy 11y agoAFAIK (and I have dozens of virtualenvs running on a Windows box) you can upgrade pip, it's just one of a handful of packages that throws an error at the end because it was unable to delete the folder it created during the install process. The upgrade works, it just looks like it doesn't. But maybe that's only true inside a virtualenv.