-
-
Notifications
You must be signed in to change notification settings - Fork 245
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 ABC #86
Comments
Hello sir, what version of Python are you using? |
It should be python 3. I just ran the Ubuntu.sh |
Try replacing all of the python
|
I'm having this problem too, but mine is a bit different. Everything compiles perfectly but in the end I get a message like this:
Afterwards, when I run:
I'm running under a fresh installation of Debian testing with only Xorg and lightdm. $ python --version Content of change.sh
|
I think the first issue might need more investigation, once I cannot reproduce it locally. About the second one, if you run :
in the parent folder of the repo, doesn't it install the proper version of the yaml library? |
Yes it worked! Thanks. Yaml is now installed and I can change the themes properly. Now polybar isn't working but it's another matter. |
In order to make Polybar work properly you probably have to go through Polybar's wiki, maybe some of the functions are not configured properly for your case? You could try to launch it from the script directly and check the output, will probably lead you to the source of the errors. |
Polybar is 100% working now, there were some problems in the config files, i just ran this command again |
I remeber one of them, |
Ubuntu 19.10
Traceback (most recent call last):
File "i3wm-themer.py", line 12, in
from i3wmthemer.models.theme import Theme
File "/home/abel/i3wm-themer/i3wmthemer/models/theme.py", line 1, in
from i3wmthemer.models.abstract_theme import AbstractTheme
File "/home/abel/i3wm-themer/i3wmthemer/models/abstract_theme.py", line 1, in
from abc import ABC, abstractmethod
ImportError: cannot import name ABC
The text was updated successfully, but these errors were encountered: