Coder Social home page Coder Social logo

Comments (23)

d4vid1 avatar d4vid1 commented on August 16, 2024 21

hi everyone

  1. first open terminal and get latest version of ProperTree with git or download as zip file and unzip it

git clone https://github.com/corpnewt/ProperTree

  1. And then get and install this python version for Big Sur

wget https://www.python.org/ftp/python/3.9.1/python-3.9.1-macos11.0.pkg

  1. run or Click on this command tool from Python 3.9 folder in Applications

Update Shell Profile.command

  1. Go to the Scripts Folder of PropeTree to build a .app with

./buildapp-python3.command

  1. and try to run a ProperTree.app from folder. Sorry for my English.

from propertree.

Thumbkin avatar Thumbkin commented on August 16, 2024 7

In terminal if python --version gives something like "Pything 2.7.16" then python will use a v2 instead of v3.
For me it worked in terminal when i did following: python3 ProperTree.command
This way it was forced to use python v3 instead of v2

from propertree.

junglegao avatar junglegao commented on August 16, 2024 2

hi everyone

  1. first open terminal and get latest version of ProperTree with git or download as zip file and unzip it

git clone https://github.com/corpnewt/ProperTree

  1. And then get and install this python version for Big Sur

wget https://www.python.org/ftp/python/3.9.1/python-3.9.1-macos11.0.pkg

  1. run or Click on this command tool from Python 3.9 folder in Applications

Update Shell Profile.command

  1. Go to the Scripts Folder of PropeTree to build a .app with

./buildapp-python3.command

  1. and try to run a ProperTree.app from folder. Sorry for my English.

Thanks, solved my problem.

from propertree.

sarahbingo avatar sarahbingo commented on August 16, 2024 1

hi everyone

  1. first open terminal and get latest version of ProperTree with git or download as zip file and unzip it

git clone https://github.com/corpnewt/ProperTree

  1. And then get and install this python version for Big Sur

wget https://www.python.org/ftp/python/3.9.1/python-3.9.1-macos11.0.pkg

  1. run or Click on this command tool from Python 3.9 folder in Applications

Update Shell Profile.command

  1. Go to the Scripts Folder of PropeTree to build a .app with

./buildapp-python3.command

  1. and try to run a ProperTree.app from folder. Sorry for my English.

#Thing goes exactly the same, no luck. <=== FOR SOME REASONS, IT WORKS AFTER RESTARTED. Strongly recommend this method in the meantime and thanks to @d4vid1 for this useful help.

from propertree.

jackharvest avatar jackharvest commented on August 16, 2024

Are you on Big Sur 11.1 perchance? I'm experiencing the same thing.

from propertree.

Kasimiri avatar Kasimiri commented on August 16, 2024

Yes, I am on Big Sur 11.1 too.

from propertree.

jackharvest avatar jackharvest commented on August 16, 2024

Yes, I am on Big Sur 11.1 too.

(Upgraded my Python version, and now its fixed -- edited my comment above; Replied to you so you'd get an alert or whatever).

Nevermind, I'm a dumbass -- I opened the "bat" file by mistake, and thought I'd successfully opened it. LOL. Still not working even after Python upgrade. :\

from propertree.

Kasimiri avatar Kasimiri commented on August 16, 2024

too bad, but the update has unfortunately not helped me either

from propertree.

Thumbkin avatar Thumbkin commented on August 16, 2024

Same problem here since 11.1 big sur update.

from propertree.

aymantop avatar aymantop commented on August 16, 2024

Me too with big sur 11.1

from propertree.

castelar007 avatar castelar007 commented on August 16, 2024

same after update to 11.1

from propertree.

sreehax avatar sreehax commented on August 16, 2024

It seems to be an issue with tkinter in the python 3.8 in the Big Sur 11.1 base system. Apple shipped a broken tkinter, looks like. The remedy i found was to install the latest Python 3.9.1 from python.org.

from propertree.

MoAlakhres avatar MoAlakhres commented on August 16, 2024

same issue here after updating to Big Sur 11.1. I have downloaded Python 3.9.1 but I still cannot use proper tree. Just trying to edit my config.plist because it is so convenient with the snapshot feature.

from propertree.

bktiger86 avatar bktiger86 commented on August 16, 2024

I am having issue as well after the Big Sur 11.1 update. Try the latest Python 3.9.1 also failed.

from propertree.

sarahbingo avatar sarahbingo commented on August 16, 2024

Me too with Big Sur 11.1, Python 3.9.1 upgraded, doesn't help. Is there anyway we can do in meantime?

from propertree.

ccolorcat avatar ccolorcat commented on August 16, 2024

Same problem after upgrade to Big Sur 11.1

from propertree.

cc-monkey avatar cc-monkey commented on August 16, 2024

Python unexpectedly exits when running propertree on big sur11.1!

from propertree.

superbogie avatar superbogie commented on August 16, 2024

I too couldn't launch Propertree under BS 11.1 without getting the Python error. I tried everything in the comments above up to and including the buildapp sequence (along with Homebrewing the latest Python 3.9.1) but that gave me a "can't find 'main' module" error when trying to run the newly created ProperTree.app in Terminal. I finally had success with the "python3 Propertree.command" method where I typed the "python3" part in Terminal and then dropped the Propertree.command file after that (where it lists the path to the command) and it now successfully opened a new Plist. Unfortunately, I can't double-click the OpenCore config.plist I'm trying to edit and instead, have to open it through the Python app File menu that is now opened. Hopefully, that's helpful to those struggling to run ProperTree under BS 11.1.

from propertree.

kelvinjou avatar kelvinjou commented on August 16, 2024

I used my other hackintosh, which had 11.0.1 and python opened up. It seems like from 11.1 Beta and onwards, it would quit.

from propertree.

corpnewt avatar corpnewt commented on August 16, 2024

If I remove all third party installs of Python and run either the ProperTree.command or the .app built with the buildapp-pythonX.command - I'm met with the same issues that have been posted here:

image

If I download python 3.9.0 from python.org (linked here), install it, then create the .app bundle with the buildapp-python3.command, I'm met with the following - which is how I have been running it with Big Sur since the early betas:

image

I have added a note about this in the readme's FAQ section. I don't personally use any package managers like brew - but I have heard that people have had issues due to it still linking to the system version of tk, which is the source of the issue. There was a user (kdorsel) that posted the steps they used to update their brew installation of python here.

Ultimately, this all seems to be an oversight on Apple's part with Big Sur shipping with a version of tk that it doesn't support. They may or may not correct it - but I've personally had no issues using python 3 from python.org + the buildapp-python3.command running it on my machines.

-CorpNewt


I am also in the process of updating to the 11.2 Beta, and will update with my experience accordingly:

image


After the update, the results for me remain the same:

image

Leveraging the latest version of python 3 from python.org, and using the buildapp-python3.command yields a working .app bundle, even with the latest Big Sur beta.

I may consolidate the buildapp-[whatever].command files into one - and try to inquire about the tk version used if possible - then serve the user a list of potentially applicable python paths and tk versions they can select from? I'm not sure yet what would be the most sane approach. I know that people's python environments can vary wildly from machine to machine, so unifying some of that is often quite a challenge.

from propertree.

corpnewt avatar corpnewt commented on August 16, 2024

Here's an interesting twist - it seems that the standard version of python in 11.2 has fixed the issue without the need for python3:

image

image

I do have a quick revision to the buildapp-[whatever].command files that allows users to pick which python version they would like hardcoded in the .app bundle's "executable" shebang - but even using the #!/usr/bin/env python on 11.2 seems to work there, so it seems Apple may have fixed this issue:

image

-CorpNewt

from propertree.

corpnewt avatar corpnewt commented on August 16, 2024

With this commit I have added a buildapp-select.command which should serve up all available py and tk versions found in the path var (including a suggestion of tk 8.6 for 11.x) and allow the user to pick which they would like hardcoded in the .app shebang:

image

image

Hopefully that information, plus Apple's changes will fix this for most users.

-CorpNewt


As an extra safety measure - buildapp-select.command will, as of this commit, run import tkinter as tk; tk.Tk() and check the return code when verifying py installs, and will only serve up those that return 0. I also cleared up some of the wording as shown below:

image

from propertree.

Kasimiri avatar Kasimiri commented on August 16, 2024

hi everyone

  1. first open terminal and get latest version of ProperTree with git or download as zip file and unzip it

git clone https://github.com/corpnewt/ProperTree

  1. And then get and install this python version for Big Sur

wget https://www.python.org/ftp/python/3.9.1/python-3.9.1-macos11.0.pkg

  1. run or Click on this command tool from Python 3.9 folder in Applications

Update Shell Profile.command

  1. Go to the Scripts Folder of PropeTree to build a .app with

./buildapp-python3.command

  1. and try to run a ProperTree.app from folder. Sorry for my English.

Thanks, solved my problem.

Thanks, solved for me too.

from propertree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.