-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Can't Import the module. #5
Comments
Thanks for opening an issue @sumagnadas. I'm sorry to hear that you're having a problem with This looks like there might be a missing Can you provide the output of the following two commands? python3 -m pip show mpris_server
python3 --version A quick fix for this might be to add I'll check if the issue lies with |
This is the output of the commands:
Also I tried to fix the problem and it seems like the lines which were causing the problems ( |
So I checked to see if |
Thanks for providing the output of those commands. There's python3 -m pip install mpris_server==0.4.3 Check that out, as I'm able to run it on Python 3.7 without a problem, so it should work with Python 3.8.10. Regarding the use of |
So I tried to install the version you told me but it can't find it. I also checked the official PyPI website and it says that the latest version is |
So I misinterpreted PEP 585, parameterized containers on Python <3.9 can only be used as variable or function annotations. Using parameterized containers for type aliases isn't supported on versions <3.9. I apologize for misstating, this issue is 100% because of that misinterpretation. I made some changes to Thanks again for reporting this! |
I will try the fix as soon as possible. Until then, can you direct me to how to make a function or something which will register the event handler from my app's side? |
Also, I was seeing the examples like |
I had exactly the same issues, I use |
I am trying to make a GUI overlay application for my media player which pulls my YT Music playlist and plays songs from there. Now leaving the overlay part and the GUI part, everything was complete so i thought that i should make it work with my media keys and so I found this module and installed it but while trying to import it shows the following error :
What should I do to fix this?
The text was updated successfully, but these errors were encountered: