You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand many would use 2.7.16 Python came default with Mac-OS but I have a Mac-Pro 5,1 (2010) and these are steps I used to setup my command line:
Click on Finder to open the file explorer
Choose Applications folder on the left
Click on the Utilities on the right
Drag the 'Terminal' down to my taskbar at the bottom to dock the application there
Click on the 'Terminal' (Black Window) icon to turnoff Terminal
Type: 'sudo xcode-select --install' and enter password to install terminal applications and compilers etc for Mac-os
then running the downloaded script 'brigadier' which shown following errors:
print statements no longer supported
import requests failed
plistlib, urllib had changed the method names
data downloaded had to convert using encode('utf-8')
extract keys from dictionary must be converted to list
So I went the long way, debugging the script using Pycharm, and attached is the fixed code, incase anyone would be interested. I had finally managed to download the package on Mac Mojave, have to run the dmg file to open the package and copy out the windows' drivers to another directory. Thank you for doing this initial works, however,
I understand many would use 2.7.16 Python came default with Mac-OS but I have a Mac-Pro 5,1 (2010) and these are steps I used to setup my command line:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
to install 'brew', which allowed me to install Python later on:
then running the downloaded script 'brigadier' which shown following errors:
So I went the long way, debugging the script using Pycharm, and attached is the fixed code, incase anyone would be interested. I had finally managed to download the package on Mac Mojave, have to run the dmg file to open the package and copy out the windows' drivers to another directory. Thank you for doing this initial works, however,
brigadier.zip
The text was updated successfully, but these errors were encountered: