8000 Change pip to python -m pip (#33) · JackLangerman/python_example@d3c873f · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit d3c873f

Browse files
jbarlow83wjakob
authored andcommitted
Change pip to python -m pip (pybind#33)
See pypa/pip#5223 - there is a pip 9 to 10 upgrade issue that prevents a direct `pip install ... --upgrade pip` from working. While the issue is closed in pip upstream, it still seems to cause problems.
1 parent 1d1fec0 commit d3c873f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ install:
1818
if ($env:PYTHON) {
1919
if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
2020
$env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
21-
pip install --disable-pip-version-check --user --upgrade pip setuptools
21+
python -m pip install --disable-pip-version-check --user --upgrade pip setuptools
2222
} elseif ($env:CONDA) {
2323
if ($env:CONDA -eq "27") { $env:CONDA = "" }
2424
if ($env:PLATFORM -eq "x64") { $env:CONDA = "$env:CONDA-x64" }

0 commit comments

Comments
 (0)
0