Skip to content

Commit fd7c63b

Browse files
Copilot0xrinegade
andcommitted
Fix macOS pip externally-managed-environment error by simplifying pip upgrade step
Co-authored-by: 0xrinegade <[email protected]>
1 parent 0afc750 commit fd7c63b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-macos-native.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ jobs:
4242
${{ runner.os }}-macos-native-
4343
${{ runner.os }}-yarn-
4444
45-
- name: Install Python distutils
46-
run: |
47-
python3 -m ensurepip --upgrade
48-
python3 -m pip install --upgrade pip setuptools --break-system-packages
45+
- name: Upgrade pip and setuptools
46+
run: python3 -m pip install --upgrade pip setuptools --break-system-packages
4947

5048
- name: Install dependencies
5149
run: |

0 commit comments

Comments
 (0)