Output of "idle &" in terminal after garuda linux upgrade:
File "/usr/bin/idle", line 3, in
from idlelib.pyshell import main
File "/usr/lib/python3.10/idlelib/pyshell.py", line 53, in
from idlelib import debugger
File "/usr/lib/python3.10/idlelib/debugger.py", line 7, in
from idlelib import macosx
File "/usr/lib/python3.10/idlelib/macosx.py", line 7, in
from test.support import requires, ResourceDenied
ModuleNotFoundError: No module named 'test'
Do not know how to reinstall test.support package in python again. If I would know that, that will fix this issue.
I can put output of garuda-inxi, but that's not linked to this problem, because it's obvious, python test package can not be found (imported) in macosx.py file and because of that it's needed to be re-installed, but I don't know how because that package can be a part of another package which should be reinstalled or it has different name than 'test'. I will try with python-setuptools.
Don't be mad at me, but if you read the template, we would always like to have the garuda-inxi no matter what someone believes or is obvious.
Maybe someone else from the forum can help you here, but the fault is not Garuda.
And we are not a python school either, so as also mentioned in the template, have you done any research on the internet?
Here again to read up.
Hello Garuda users.
Please read the following template before requesting assistance:
Please post the terminal/konsole input and output as text (no pictures) from the the following command:
garuda-inxi
Refusing to post the output of the required "garuda-inxi" on a help request will likely result in you not receiving any help from the Garuda team. A failure to provide your system specs may also result in your thread being closed without notice, (as without this information providing assistance is often next to impossible).
Before opening a new help request, please search the Arch and Garuda Wiki's, and read any relevant sections related to your issue. Also, thoroughly search any error messages in the forum's search engine and on the web. For in depth information on how to search for answers to Linux issues effectively read the tips on the Garuda Wiki:
Hello. All I know is it happens here too. No Idea.
I'm not finding anything useful online, not the same error.
I just updated and rebooted, no difference.
I never noticed before but it was there before the very last update.
Not mad, just wanted to explained the main issue, because I'm also programming in python for 6 months and I'm programmer for more than 20 years. I was just wondering if someone knows where python test package, which also has test.support, can be found.
Good catch.
I see I don't have a test package, but a unittest in /usr/lib/python3.10/.
It's long I don't do any Python, but I guess idle is not receiving much attention lately.
Regression test package, which was missing, is a part of Python Standard Library which is linked to current python version in general, so that library can’t be upgraded as an extension. So only solution was to find that package inside extracted and downloaded file of python 3.10.8 (because I use last working version as well) inside it’s Library folder. So it’s path is …Python/Lib/test.