[GH-ISSUE #1177] [macOS Monterey] CLI returns with error code : /bin/bash: python: command not found #1173

Open
opened 2026-03-03 19:48:58 +03:00 by kerem · 3 comments
Owner

Originally created by @ppapadatis on GitHub (Mar 18, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1177

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version?

Proxyman Version 3.2.0 (30200)

macOS Version?

macOS Monterey Version 12.3 (21E230)

Steps to reproduce

  • Click on "Certificate" menu
  • Navigate to "Install Certificate on iOS --> Simulators..."
  • Click on Step 2 "Install and Trust"

Expected behavior

Certificate should be installed on iOS simulator device.

Description

On latest macOS update (v12.3), Apple removed Python 2.7 (because of its EOL status) so it's no longer available in /usr/bin path. Although you can directly install it by downloading it from python.org (pyenv doesn't work at the moment), Proxyman cannot find it under /usr/local/bin path (or any other alternative path).

https://macmule.com/2022/01/29/macos-monterey-12-3-will-remove-python-2-7-usr-bin-python/
https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes

Python
Deprecations
Python 2.7 was removed from macOS in this update. Developers should use Python 3 or an alternative language instead. (39795874)

Screenshots (optional)

python-not-found
Originally created by @ppapadatis on GitHub (Mar 18, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1177 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? Proxyman Version 3.2.0 (30200) ### macOS Version? macOS Monterey Version 12.3 (21E230) ### Steps to reproduce - Click on "**Certificate**" menu - Navigate to "**Install Certificate on iOS --> Simulators...**" - Click on Step 2 "**Install and Trust**" ### Expected behavior Certificate should be installed on iOS simulator device. ### Description On latest macOS update (v12.3), Apple removed Python 2.7 (because of its [EOL status](https://www.python.org/doc/sunset-python-2/)) so it's no longer available in `/usr/bin` path. Although you can directly install it by downloading it from [python.org](https://www.python.org/downloads/release/python-2718/) ([pyenv doesn't work at the moment](https://github.com/pyenv/pyenv/issues/2262)), Proxyman cannot find it under `/usr/local/bin` path (or any other alternative path). https://macmule.com/2022/01/29/macos-monterey-12-3-will-remove-python-2-7-usr-bin-python/ https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes > Python Deprecations Python 2.7 was removed from macOS in this update. Developers should use Python 3 or an alternative language instead. (39795874) ### Screenshots (optional) <img width="666" alt="python-not-found" src="https://user-images.githubusercontent.com/5330923/159003841-e56d4518-3400-484f-b1f3-f77fdfc5374f.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 18, 2022):

@ppapadatis please try to use simctl for installing the certificate on iOS Simulator. You can activate it in Preference -> Tools -> Check the Use simctl.

I would use simctl command from Xcode to perform this task instead of using the python.

Screen_Shot_2022-03-18_at_19_36_45

<!-- gh-comment-id:1072371768 --> @NghiaTranUIT commented on GitHub (Mar 18, 2022): @ppapadatis please try to use `simctl` for installing the certificate on iOS Simulator. You can activate it in Preference -> Tools -> Check the Use `simctl`. I would use `simctl` command from Xcode to perform this task instead of using the python. ![Screen_Shot_2022-03-18_at_19_36_45](https://user-images.githubusercontent.com/5878421/159004311-42635d2a-3d8a-4a6a-857f-86cff78e0e10.jpg)
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 18, 2022):

Meanwhile, I will upgrade to macOS 12.3 and fix it. I guess we can use python3 instead of python

<!-- gh-comment-id:1072373823 --> @NghiaTranUIT commented on GitHub (Mar 18, 2022): Meanwhile, I will upgrade to macOS 12.3 and fix it. I guess we can use `python3` instead of `python`
Author
Owner

@ppapadatis commented on GitHub (Mar 18, 2022):

@ppapadatis please try to use simctl for installing the certificate on iOS Simulator. You can activate it in Preference -> Tools -> Check the Use simctl.

I would use simctl command from Xcode to perform this task instead of using the python.

Screen_Shot_2022-03-18_at_19_36_45

That worked like a charm, thanks a lot!

<!-- gh-comment-id:1072379030 --> @ppapadatis commented on GitHub (Mar 18, 2022): > @ppapadatis please try to use `simctl` for installing the certificate on iOS Simulator. You can activate it in Preference -> Tools -> Check the Use `simctl`. > > I would use `simctl` command from Xcode to perform this task instead of using the python. > > ![Screen_Shot_2022-03-18_at_19_36_45](https://user-images.githubusercontent.com/5878421/159004311-42635d2a-3d8a-4a6a-857f-86cff78e0e10.jpg) That worked like a charm, thanks a lot!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1173
No description provided.