Skip to content

Commit 8bbc4c8

Browse files
authored
Fixed blocking issue caused by incompatibility with get-pip.py and Python 3.6. Automation now retrieves archived 3.6 compatible version of get-pip.py. (microsoft#473)
1 parent c31cf0c commit 8bbc4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/WinMLDashboard/src/native/python.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export async function downloadPip(listener?: IOutputListener) {
114114
return new Promise(async (resolve, reject) => {
115115
const installer = path.join(localPython, 'get-pip.py');
116116
try {
117-
const data = await downloadBinaryFile('https://bootstrap.pypa.io/get-pip.py') as Buffer;
117+
const data = await downloadBinaryFile('https://bootstrap.pypa.io/pip/3.6/get-pip.py') as Buffer;
118118
fs.writeFileSync(installer, data);
119119
await python([installer], {}, listener);
120120
} catch (err) {

0 commit comments

Comments
 (0)