-
Notifications
You must be signed in to change notification settings - Fork 259
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
ModuleNotFoundError: No module named 'validate' #324
Comments
Looks like it. I'll look at this. |
I got this error on arch after upgrading python-configobj to 5.0.6-10. Downgrading to 5.0.6-9 fixed this for me. |
Fixed it for me as well, looks related to DiffSK/configobj@0cfca0c#diff-fb6fb820a0e6b474958f753024dc23dbc01d133a698a64593106f166234030f2 I believe this would fix the underlying issue (but no new official release of configobj has been made yet). |
Thanks @janhrastnik downgrading python-configobj worked! |
Tips if you don't want your Arch to upgrade again:
|
I manually edited the import with the line from the merge request and it fixed it on my system (Archlinux) |
That works for me too! |
I found a library called validator Tried changing it to "from configobj.validate import Validator" and it also works |
validator is a completely separate library, and does not have the functionality we are looking for. It loads, but it doesn't necessarily do what we want it to. |
sudo nano /usr/lib/python3.9/site-packages/terminatorlib/config.py |
Changing line 77 to "from validator import Validator" did not fix it for me. |
On Arch Linux, the |
Thanks @janhrastnik, it worked perfectly |
It works on Arch Linux now cause they include the changes of #325 in there package. The unchanged release 2.0.1 would not work. |
Given that Arch is the only distro that has reported this problem, and it was fixed in the arch package, I'm tempted to close this. |
Closing. Please re-open if this occurs somewhere other than arch. |
This error just started happening today in Manjaro after this afternoon's round of updates. |
For the purpose of this bug, Manjaro == Arch, Make sure you're not running python-configobj 5.0.6-10, there's a bug in it and it's been superseded by 5.0.6.r110.g3e2f4cc-1 see #325 (comment) for details |
I have the same problem on manjaro. Terminator version is 1.92-3 |
This solution works, just don't forget to EDIT: Actually it doesn't, terminator doesn't read the config file anymore with that solution. Use @telius solution instead:
|
I had the problem yesterday evening after full Manjaro upgrade. |
Indeed, it's very recent then, I didn't have this update a few min ago, and it only contains the new version of terminator aha |
This issue stilll apears to present in the latest version using a typical pip install on Mac OS using python 3.7 to a virtual environment. A quick workaround is just to use: |
That line is what it is in the code: terminator/terminatorlib/config.py Line 77 in d57314c
|
Hi I'm getting this:
Here is my version of python:
Also when I try to install the validate module:
It looks like it's Python 3.9.1 not compatible?
The text was updated successfully, but these errors were encountered: