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
ImportError: cannot import name 'Sequence' from 'collections' #1930
Comments
The last line says that the error's coming out of dbus. Looks like dbus-python on pypi hasn't uploaded the version that they say is updated for python 3.10 yet as well. Their pypi page does seem to suggest that we should use another python library, so switching to one of those shiny new options could be a thing too, would mean one more dependency on pure pypi too. I've made an issue on dbus-python's issue tracker to prompt them to update pypi, but until they update or we move away from dbus Guake does not yet support python 3.10. |
Went googling a little and this dbus option seems fun, I'll try swapping this in sometime, see how it runs. |
Alright, dbus-python updated their pypi version to latest, can you do a |
Oh, did it work? |
Yeah. upgrading dbus-python worked |
I'm unable to install/upgrade 'dbus-python' n Windows OS.
Does this 'dbus-python' work in Windows OS also? |
dbus is a library for connecting to a linux service. I was unaware that Guake worked on windows, have you been able to install it before? |
Hi, I meet this problem: have no idea why this occurs |
@dongyangTHU - You have asked about an error in a completely different project. This project has found a solution for it, but you likely need to go and check with the developers of whatever project you are using. |
Upgrading to the latest version of the pip worked for me. |
In python3.10 |
Exception ignored in thread started by: <function check_errors..wrapper at 0x000001BB6B0E9480> I have add the corsheader in setting.py |
I have sent axios post request from reawct.js frontend to Django Backend. |
Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Guake.
For how to run the latest Guake in your computer, please refer to Install from source.
Describe the bug
Traceback (most recent call last):
File "/usr/sbin/guake", line 10, in
sys.exit(exec_main())
File "/usr/lib/python3.10/site-packages/guake/main.py", line 614, in exec_main
if not main():
File "/usr/lib/python3.10/site-packages/guake/main.py", line 440, in main
from guake.dbusiface import DBUS_NAME
File "/usr/lib/python3.10/site-packages/guake/dbusiface.py", line 25, in
import dbus.service
File "/usr/lib/python3.10/site-packages/dbus/service.py", line 35, in
from collections import Sequence
ImportError: cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/init.py)
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
What you actually get.
To Reproduce
Provide the steps to reproduce the behavior
open guake in python3.10
Please run
$ guake --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting. And make sure you run the command OUTSIDE the Guake.$ guake --support
Guake Version: 3.7.0
Vte Version: 0.64.2
Vte Runtime Version: 0.64.2
GTK+ Version: 3.24.30
GDK Backend: gi.GdkWaylandDisplay
Desktop Session: gnome
Display: wayland-0
RGBA visual: True
Composited: True
The text was updated successfully, but these errors were encountered: