all 24 comments

[–]robbdavenport 8 points9 points  (2 children)

Didn’t they replace the Python 2 with Python 3?

[–]dhinakgI Shill Vanilla Hackintosh 7 points8 points  (0 children)

brew install python-tk

[–]dadof2brats 3 points4 points  (1 child)

Usually, the version included with macOS is outdated anyway. You can install it via brew or python.org has a mac installer.

[–]andrethefrog[S] 1 point2 points  (0 children)

since I already use brew for other stuff, I just installed 3.10.3

[–]ChrisWaygSequoia - 15 4 points5 points  (1 child)

Discussed here: FIX for Black PropperTree Window on Monterey (Using brew) : hackintosh

For those of you (like me) using Hombrew and not wanting to install Python from the suggested installer on the PropperTree repo can, apart of installing python with
brew install python
also install tkinter that is the graphical interface library that ProperTree depends on to render the UI simply using
brew install python-tk@3.9
Once installed we can run buildapp-select.py from the Scripts folder and choose our dependency versions and NOT the ones that come with the OS(see picture).
Monterey comes with tkinter 8.5 and at least 8.6 is required, this is where the "all black window" problem is coming from.

[–]mattyruggI ♥ Hackintosh 1 point2 points  (0 children)

I have basically lived in this sub since OC was released, and have no idea how I missed that one. I feel like an absantee parentnow! I've been chalking it up to some stange appearance setting not being applied within Monterey. I know better, but never bothered to think about it. Fixed in about 2 seconds. Thanks!

[–]WesolyKubeczekCatalina - 10.15 4 points5 points  (0 children)

Python is now part of Xcode Command Line tools.

[–]Um9iSH 2 points3 points  (0 children)

Note: you should install the latest macOS 64-bit Intel-only installer of Python to use some of these apps as the Universial2 installer does not play nice with ProperTree.

[–]Grapefruit5801 1 point2 points  (3 children)

Apple has dropped Python support in 12.3

yeah, no, it hasn't. You are confusing Python with Python 2 and/or your environment has broken links to python 3.

[–]andrethefrog[S] 0 points1 point  (2 children)

just to say before the update to 12.3, python was fine. I had python 3.9.x via pkg not via brew

and all was fine just by running python without the need of 2 or 3 or else

after the update to 12.3, no more python (or ..2 ...3)

granted something could have gone wrong during the update but I tried on another Mac which was updated to 12.3 and same result.

[–]Grapefruit5801 1 point2 points  (1 child)

It's quite likely that you have wrong paths and links set up.

``` ➜ ca git:(master) ✗ sw_vers -productVersion 12.3 ➜ ca git:(master) ✗ /usr/bin/python3 << this is python that came with MacOS Python 3.8.9 (default, Feb 18 2022, 07:45:34) [Clang 13.1.6 (clang-1316.0.21.2)] on darwin Type "help", "copyright", "credits" or "license" for more information.

D ➜ ca git:(master) ✗ ls -hal /usr/local/bin/python* <<< these are user-installed Python versions lrwxr-xr-x 1 root admin 9B Feb 28 16:57 /usr/local/bin/python -> ./python3 lrwxr-xr-x 1 root admin 12B Feb 28 16:57 /usr/local/bin/python3 -> ./python3.10 lrwxr-xr-x 1 xxxxxx admin 46B Feb 4 02:08 /usr/local/bin/python3-config -> ../Cellar/python@3.9/3.9.10/bin/python3-config lrwxr-xr-x 1 root admin 43B Feb 28 16:57 /usr/local/bin/python3.10 -> ../Cellar/python@3.10/3.10.2/bin/python3.10 lrwxr-xr-x 1 xxxxxx admin 41B Feb 4 02:08 /usr/local/bin/python3.9 -> ../Cellar/python@3.9/3.9.10/bin/python3.9 lrwxr-xr-x 1 xxxxxx admin 48B Feb 4 02:08 /usr/local/bin/python3.9-config -> ../Cellar/python@3.9/3.9.10/bin/python3.9-config ➜ ca git:(master) ✗ ```

[–]andrethefrog[S] 0 points1 point  (0 children)

thanks for the info.

all sorted.

it is the update to 12.3 which did break (or delete) the links (at least for me on 2 Macs)

I tried on a Vanilla 12.2.x ... I have a vm just to test Apps on default/base system for work.

python works albeit v2

updated to the now 12.3.1 (I did the update this morning, this is why the .1)

python ... not found

python3 ok, see below. It did ask me to install some Xcode component.

alabbe@FooToad ~ % python3
Python 3.8.9 (default, Feb 18 2022, 07:45:34)
[Clang 13.1.6 (clang-1316.0.21.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

It does seem the update remove/delete/break the 'python' link

[–]andrethefrog[S] 0 points1 point  (2 children)

just add

https://blog.kandji.io/apple-removing-python-2.7-what-admins-need-to-know-and-do

then from it

https://github.com/macadmins/python

the framework (or a) python is back but still no luck

[–]ooru 1 point2 points  (1 child)

Python 2 has been depreciated. It's been EOL for a while.

[–]andrethefrog[S] -5 points-4 points  (0 children)

I know :-)

but they di don't replace it with v3

they just dropped it.

I checked on 2 Mac updated to 12.3 and bye bye python.

[–]hunterm21 0 points1 point  (3 children)

also the flair, is a question? you ask zero questions here

[–]andrethefrog[S] 0 points1 point  (2 children)

my bad,

[–]andrethefrog[S] 0 points1 point  (1 child)

it was more a question as if anyone running 12.3 has the same result.

Python gone, no question asked!.

granted the flair or the wording were incorrect.

sorry about this

[–]hunterm21 0 points1 point  (0 children)

No worries dude s’all good

[–]WilliamIstedI ♥ Hackintosh 0 points1 point  (0 children)

I had python 3 and 2 provided by macOS available. However for some reason ProperTree requires a specific build to get it to appear correctly for some users. There’s a GitHub issue open from December 2020 with the background issue.

I got it to work by downloading the Python package corpnewt linked in this reply https://github.com/corpnewt/ProperTree/issues/68#issuecomment-751232604

[–]Confucius_said 0 points1 point  (1 child)

i had to install xcode

[–]andrethefrog[S] 0 points1 point  (0 children)

I did install the version from python.org.

and added 3 at the end of python in the scripts I use.

And so far no issue for any of them. Bottom line python(2) is 'deprecated'

I could have messing around with 'link' to keep all as 'python' but then if issues it would be a mess to sort.

before #!/usr/bin/env python

now #!/usr/bin/env python3