Is it possible to use PROS on a MacBook Pro M1?

I have the m1 MacBook Pro rather than the intel version. I have VS code and the Pros extension installed, but I keep getting “CLI Installation failed” when it tries to download. If there isn’t normal support for the m1, is there a workaround? Thanks!

Did you make sure Rosetta 2 was installed? Had a similar issue with the VEX Extention on VS Code, once i got Rosetta 2 installed everything started to work

2 Likes

Just tried that and it actually did say it installed correctly this time. But then when i hit verify the same error comes up :confused:

Hi, PROS does support M1 mac devices. Could you send the most recent log file from the PROS Extension? This may help us understand why the installation is failing. You can find it in the following folder: $HOME/Library/Application Support/Code/User/globalStorage/sigbots.pros/logs.

2 Likes

Yep, here it is! It doesn’t seem to allow .txt files so I will copy and paste it here:

OneClick | 2023-09-26T14:46:16.185Z | INFO :: removing directory /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/install/pros-cli-macos}
OneClick | 2023-09-26T14:46:16.189Z | INFO :: CLI is not working. Installing just the CLI
OneClick | 2023-09-26T14:46:16.190Z | INFO :: Downloading https://github.com/purduesigbots/pros-cli/releases/download/3.4.3/pros_cli-3.4.3-macos-arm64bit.zip
OneClick | 2023-09-26T14:46:16.190Z | INFO :: Downloading https://pros.cs.purdue.edu/v5/_static/releases/vexcom_1_0_0_23-osx.zip
OneClick | 2023-09-26T14:46:16.190Z | INFO :: Adding install and download directories
OneClick | 2023-09-26T14:46:16.190Z | INFO :: Storage Path: vex-vexcom-macos.zip
OneClick | 2023-09-26T14:46:16.190Z | INFO :: Storage Path: pros-cli-macos.zip
OneClick | 2023-09-26T14:46:16.190Z | INFO :: Recursively creating directory /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/install
OneClick | 2023-09-26T14:46:16.196Z | INFO :: Recursively creating directory /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/download
OneClick | 2023-09-26T14:46:16.200Z | INFO :: Downloading and extracting files
OneClick | 2023-09-26T14:46:16.560Z | INFO :: Extracting vex-vexcom-macos.zip
OneClick | 2023-09-26T14:46:16.579Z | INFO :: Extracting /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/download/vex-vexcom-macos.zip to /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/install/vex-vexcom-macos
OneClick | 2023-09-26T14:46:19.841Z | INFO :: Extracting pros-cli-macos.zip
OneClick | 2023-09-26T14:46:20.189Z | INFO :: Extracting /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/download/pros-cli-macos.zip to /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/install/pros-cli-macos
OneClick | 2023-09-26T14:46:20.189Z | INFO :: Cleaning up after installation
OneClick | 2023-09-26T14:46:20.190Z | INFO :: Removing temporary download directory
OneClick | 2023-09-26T14:46:20.192Z | INFO :: Verifying that CLI and Toolchain are working
OneClick | 2023-09-26T14:46:20.193Z | INFO :: Changing permissions on pros, intercept-c++, and intercept-cc executables
OneClick | 2023-09-26T14:46:20.193Z | INFO :: Configuring environment variables
OneClick | 2023-09-26T14:46:20.193Z | INFO :: Getting paths for integrated terminal
OneClick | 2023-09-26T14:46:20.193Z | INFO :: Checking How CLI is installed
OneClick | 2023-09-26T14:46:20.194Z | INFO :: Executing PROS with One-Click Install directory: /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/install/pros-cli-macos/pros
OneClick | 2023-09-26T14:46:21.214Z | INFO :: CLI is installed through other means with version -1
OneClick | 2023-09-26T14:46:21.214Z | INFO :: CLI path count: 3
OneClick | 2023-09-26T14:46:21.214Z | INFO :: Vexcom path count: 3
OneClick | 2023-09-26T14:46:21.214Z | INFO :: Toolchain path count: 3
OneClick | 2023-09-26T14:46:21.215Z | INFO :: PATH is already configured
OneClick | 2023-09-26T14:46:21.215Z | INFO :: Verifying CLI with command pros c --help --machine-output 
OneClick | 2023-09-26T14:46:21.373Z | ERROR :: Error: Command failed: pros c --help --machine-output 
Traceback (most recent call last):
  File "pros/cli/main.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "pros/common/__init__.py", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "pros/common/ui/__init__.py", line 5, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "sentry_sdk/__init__.py", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "sentry_sdk/hub.py", line 10, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "sentry_sdk/client.py", line 22, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "sentry_sdk/transport.py", line 4, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "urllib3/__init__.py", line 17, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "urllib3/connectionpool.py", line 14, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "urllib3/_request_methods.py", line 10, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "urllib3/response.py", line 282, in <module>
  File "urllib3/response.py", line 292, in BaseHTTPResponse
AttributeError: module 'brotlicffi' has no attribute 'error'
[95081] Failed to execute script 'main' due to unhandled exception!

OneClick | 2023-09-26T14:46:21.373Z | INFO :: Verifying TOOLCHAIN
OneClick | 2023-09-26T14:46:21.374Z | INFO :: Using toolchain path /Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/install/pros-toolchain-macos
OneClick | 2023-09-26T14:46:21.374Z | INFO :: Verifying TOOLCHAIN with command "/Users/dylanturnerfly/Library/Application Support/Code/User/globalStorage/sigbots.pros/install/pros-toolchain-macos/bin/arm-none-eabi-g++" --version
OneClick | 2023-09-26T14:46:21.395Z | INFO :: Verifying VEXCOM

I’ve just reinstalled PROS for the millionth time and for whatever reason it just started working! Thank you all for the help :slight_smile:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.