Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Display_manager with Monterey #35

Open
Badsheep opened this issue Dec 27, 2024 · 5 comments
Open

Use Display_manager with Monterey #35

Badsheep opened this issue Dec 27, 2024 · 5 comments

Comments

@Badsheep
Copy link

Hello,

Did anyone managed to make it work with Monterey (or higher OS?).
Since I upgraded my OS this is broken, due to the abandoned Python 2.

I downloaded the files display_manager.py and display_manager_lib.py, they seem to be upgraded in Python 3 as it's written "#!/usr/bin/env python3" in the beginning of the files. But I don't know where to copy it, and how to make it work.

If anybody did : thank for your help !

(And many thanks for the developers of this application, it was useful for me for many years !)

@Kalmat
Copy link

Kalmat commented Dec 29, 2024

Hi!

I've been using display_manager_lib.py in Python 3 within my own module without the need of adjusting anything else. I mean, it should work in Python 3 out-of-the-box. Nevertheless, I found some issues which, in my case, were not related to Python 3, but to macOS itself. Check this issue for more info.

Besides, how are you using this code? Are you using the GUI or are you embedding these libraries within a project of yours? Can you please provide more details?

@Badsheep
Copy link
Author

Hi ! Thanks for your message, I just want to use display_manager.py with bash command lines. When I open thé lasts versions (in python 3 I guess), I’ve got an error message telling me it can’t find « objC »… I guess it can’t find some mac os libraries ?

@Badsheep
Copy link
Author

(Your link is not good)

@Kalmat
Copy link

Kalmat commented Dec 30, 2024

Hi! It seems to me that you need to install some python dependencies first.

Try:
python3 -m pip install pyobjc

(Maybe you have to replace python3 command by just python. You may also need to install pip on your current python installation before using the command above)

(Your link is not good)

Sorry. Try this one

@Badsheep
Copy link
Author

Ok thanks for your help ! I can’t test it now but I will as soon as possible and I’ll let you know !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants