[arch-general] Python nightmare
Hi guys, Recently tried to install Spyder IDE but i got a ton of errors, so after trying different approaches I found that probably doing it through Anaconda would be better. And try first with AUR, but never could, so I download Anacondas installer and after a huge amount of time it got installed. So there it was Anaconda + Spyder etc.... however I started to get a ton of Python related warnings and error every time I updated (pacman -Syu), so i ended up removing Anconda and everything else. But now i still getting errors like... advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/jaraco.text-3.8.1.dist-info/ for instance this packages are indeed installed, but I keep gettin the warning, and like that I get for a ton of files ls -l /usr/lib/python3.10/site-packages/jaraco.text-3.9.0.dist-info/ total 20 -rw-r--r-- 1 root root 1050 ago 15 10:38 LICENSE -rw-r--r-- 1 root root 3916 ago 15 10:38 METADATA -rw-r--r-- 1 root root 1102 ago 15 10:38 RECORD -rw-r--r-- 1 root root 7 ago 15 10:38 top_level.txt -rw-r--r-- 1 root root 92 ago 15 10:38 WHEEL And even worse, whenever i tried to run certain apps (like gnome-tweaks, bpython, ipyhton) now i get errors when they work before without a problem.. this is the outrput. $ gnome-tweaks Traceback (most recent call last): File "/usr/bin/gnome-tweaks", line 13, in <module> import gi ModuleNotFoundError: No module named 'gi' $ ipython Traceback (most recent call last): File "/usr/bin/ipython", line 5, in <module> from IPython import start_ipython File "/home/acgx/.local/lib/python3.10/site-packages/IPython/__init__.py", line 55, in <module> from .core.application import Application File "/home/acgx/.local/lib/python3.10/site-packages/IPython/core/application.py", line 23, in <module> from traitlets.config.application import Application, catch_config_error ModuleNotFoundError: No module named 'traitlets' $ bpython Traceback (most recent call last): File "/usr/bin/bpython", line 33, in <module> sys.exit(load_entry_point('bpython==0.22.1', 'console_scripts', 'bpython')()) File "/usr/bin/bpython", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 957, in distribution return Distribution.from_name(distribution_name) File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for bpython Checking out my python binaries i get.. $ ls -l /usr/bin/python* lrwxrwxrwx 1 root root 7 ago 3 12:39 /usr/bin/python -> python3 lrwxrwxrwx 1 root root 9 oct 10 2021 /usr/bin/python2 -> python2.7 -rwxr-xr-x 1 root root 14168 oct 10 2021 /usr/bin/python2.7 -rwxr-xr-x 1 root root 1681 oct 10 2021 /usr/bin/python2.7-config lrwxrwxrwx 1 root root 16 oct 10 2021 /usr/bin/python2-config -> python2.7-config -rwxr-xr-x 1 root root 94 dic 13 2021 /usr/bin/python2-pyuic4 lrwxrwxrwx 1 root root 10 ago 3 12:39 /usr/bin/python3 -> python3.10 -rwxr-xr-x 1 root root 14280 ago 3 12:39 /usr/bin/python3.10 -rwxr-xr-x 1 root root 3299 ago 3 12:39 /usr/bin/python3.10-config lrwxrwxrwx 1 root root 17 ago 3 12:39 /usr/bin/python3-config -> python3.10-config lrwxrwxrwx 1 root root 14 ago 3 12:39 /usr/bin/python-config -> python3-config So, does anybody has seen or been in something like this? any hints how can I "purge" "remove" or deinstall properly the buggy libraries and reinstall everything properly? Hope someone have a good pointer. Thanks in advance. Regards Adriel CG
On Thu, 2022-08-18 at 21:00 -0500, admin--- via arch-general wrote:
advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/jaraco.text-3.8.1.dist-info/
Hi, check if the installed paths/files belong to packages from the official Arch Linux repositories. For example: [rocketmouse@archlinux ~]$ pacman -Qo /usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so /usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so is owned by btrfs-progs 5.19-1 [rocketmouse@archlinux ~]$ pacman -Qi btrfs-progs | grep Packager -A1 Packager : Tobias Powalowski <tpowa@archlinux.org> Build Date : Tue 16 Aug 2022 19:01:28 CEST [rocketmouse@archlinux ~]$ pacman -Si btrfs-progs | grep -eRepository -ePackager -A1 Repository : core Name : btrfs-progs -- Packager : Tobias Powalowski <tpowa@archlinux.org> Build Date : Tue 16 Aug 2022 19:01:28 CEST [rocketmouse@archlinux ~]$ pacman -Qo /usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc /usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc is owned by python-setuptools 1:62.1.0-1 [rocketmouse@archlinux ~]$ pacman -Qi python-setuptools | grep Packager -A1 Packager : Felix Yan <felixonmars@archlinux.org> Build Date : Fri 22 Jul 2022 04:38:55 CEST [rocketmouse@archlinux ~]$ pacman -Si python-setuptools | grep -eRepository -ePackager -A1 Repository : extra Name : python-setuptools -- Packager : Felix Yan <felixonmars@archlinux.org> Build Date : Fri 22 Jul 2022 04:38:55 CEST Regards, Ralf
PS: And also check that /etc/pacman.conf doesn't contain a "bad" third party repository providing conflicting packages.
Well HELL! Where's the fun in that???? On 8/19/2022 1:58 AM, Ralf Mardorf via arch-general wrote:
PS: And also check that /etc/pacman.conf doesn't contain a "bad" third party repository providing conflicting packages.
-- Randall DuCharme (Radio AD5GB) Powered entirely by Open Source software.
I'm sorry for y'all's rotten ass attitudes. I'm sorry that you all are too arrogant to accept help. I'm sorry for asking/offering to be of help. I'm sorry for Arch. It will free up a RAID 50 array to be free of it, On 8/19/2022 1:59 AM, Randy DuCharme wrote:
Well HELL! Where's the fun in that????
On 8/19/2022 1:58 AM, Ralf Mardorf via arch-general wrote:
PS: And also check that /etc/pacman.conf doesn't contain a "bad" third party repository providing conflicting packages.
-- Randall DuCharme (Radio AD5GB) Powered entirely by Open Source software.
On Fri, 2022-08-19 at 02:06 -0500, Randy DuCharme wrote:
I'm sorry for y'all's rotten ass attitudes. I'm sorry that you all are too arrogant to accept help. I'm sorry for asking/offering to be of help. I'm sorry for Arch. It will free up a RAID 50 array to be free of it,
Just in case, I have _not_ sent an email to this person off-list and as everybody can see, also not via the list. IOW I don't know why this statements are in reply to my emails sent to the list.
Y'all's attitudes suck. Especially when addressing someone that wants to help. Wondering why maintainers are resigning???? Look in the fucking mirror!!!! On Fri, Aug 19, 2022 at 2:20 AM Ralf Mardorf via arch-general < arch-general@lists.archlinux.org> wrote:
On Fri, 2022-08-19 at 02:06 -0500, Randy DuCharme wrote:
I'm sorry for y'all's rotten ass attitudes. I'm sorry that you all are too arrogant to accept help. I'm sorry for asking/offering to be of help. I'm sorry for Arch. It will free up a RAID 50 array to be free of it,
Just in case, I have _not_ sent an email to this person off-list and as everybody can see, also not via the list. IOW I don't know why this statements are in reply to my emails sent to the list.
-- Randall DuCharme (Radio *AD5GB*) Powered by Open Source software.
On Fri, 2022-08-19 at 02:30 -0500, Randy DuCharme wrote:
Y'all's attitudes suck. Especially when addressing someone that wants to help. Wondering why maintainers are resigning???? Look in the fucking mirror!!!!
Feel free to help the OP getting rid of advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/jaraco.text-3.8.1.dist-info/ and/or rid of the other issues, too. I don't see any email to this thread in the archive addressing you, see https://lists.archlinux.org/pipermail/arch-general/2022-August/ , nor do see any help provided by you.
You are a bunch of arrogant, self-absorbed jack asseses. Period. I've been writing C/C++ code on UNIX/Linux professionally for 25 years now. Asked how I could help ARCH and get nothing but sarcasm and HATE? WT ever loving FUCK is up with that???? Stripping my array. I guess maybe I should use MickeyMouseware eh? Fuck you and your attitudes! On 8/19/2022 3:01 AM, Ralf Mardorf via arch-general wrote:
On Fri, 2022-08-19 at 02:30 -0500, Randy DuCharme wrote:
Y'all's attitudes suck. Especially when addressing someone that wants to help. Wondering why maintainers are resigning???? Look in the fucking mirror!!!! Feel free to help the OP getting rid of
advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/jaraco.text-3.8.1.dist-info/
and/or rid of the other issues, too.
I don't see any email to this thread in the archive addressing you, see https://lists.archlinux.org/pipermail/arch-general/2022-August/ , nor do see any help provided by you.
-- Randall DuCharme (Radio AD5GB) Powered entirely by Open Source software.
Hi Ralf,
You are a bunch of arrogant, self-absorbed jack asseses. ... Randall DuCharme (Radio AD5GB) Powered entirely by Open Source software.
My guess is this isn't the real Randall DuCharme, visible on LinkedIn and in previous years on Arch's mailing lists. CC-ing ‘Randy DuCharme <radio.ad5gb@gmail.com>’ is also odd. He's best ignored. The list moderator can take action if he persists. -- Cheers, Ralph.
Hi,
My guess is this isn't the real Randall DuCharme, visible on LinkedIn and in previous years on Arch's mailing lists. CC-ing ‘Randy DuCharme <radio.ad5gb@gmail.com>’ is also odd.
That's caused by DMARC munging of mailman, you should see the same e.g. with my mail. Best regards Bjoern
On 19/08/2022 10:12, Bjoern Franke via arch-general wrote:
Hi,
My guess is this isn't the real Randall DuCharme, visible on LinkedIn and in previous years on Arch's mailing lists. CC-ing ‘Randy DuCharme <radio.ad5gb@gmail.com>’ is also odd.
That's caused by DMARC munging of mailman, you should see the same e.g. with my mail.
I think the point was that it's a Gmail address rather than something more "official" or that matches the previous mails, i.e. it looks like a character assassination attempt.
On Fri, 2022-08-19 at 10:06 +0100, Ralph Corderoy wrote:
My guess is this isn't the real Randall DuCharme
Apparently it was somebody else or a bot :D.
She's gone. In more ways than one. She will never darken your doorstep again, nor mine for that matter..... On 8/19/2022 5:19 PM, admin--- via arch-general wrote:
El 2022-08-19 12:18, Ralf Mardorf via arch-general escribió:
On Fri, 2022-08-19 at 10:06 +0100, Ralph Corderoy wrote:
My guess is this isn't the real Randall DuCharme
Apparently it was somebody else or a bot :D.
Pretty crazy bot :D
-- Randall DuCharme (Radio AD5GB) Powered entirely by Open Source software.
On 8/19/22 02:06, Randy DuCharme via arch-general wrote:
I'm sorry for y'all's rotten ass attitudes. I'm sorry that you all are too arrogant to accept help. I'm sorry for asking/offering to be of help. I'm sorry for Arch. It will free up a RAID 50 array to be free of it,
Sorry you feel that way. Arch isn't the most inviting list, never has been (at least for the 13 years I've been around). But, it's not a popularity contest, it's a Linux distribution. Things were a bit different a decade ago, but not much. You take the good with the bad. Frankly, the good has always outweighed the bad by a substantial amount. Room for improvement in the "plays well with others" category, sure, but just takes a bit of thick-skin to get used to. Hope you reconsider. -- David C. Rankin, J.D.,P.E.
Op vr 19 aug. 2022 04:00 schreef admin--- via arch-general < arch-general@lists.archlinux.org>:
Hi guys,
Recently tried to install Spyder IDE but i got a ton of errors, so after trying different approaches I found that probably doing it through Anaconda would be better.
Ok, first question: how did you install these applications? Was it an Arch package or from source? Or even another packager like PIP? And try first with AUR, but never could, so I
download Anacondas installer and after a huge amount of time it got installed. So there it was Anaconda + Spyder etc.... however I started to get a ton of Python related warnings and error every time I updated (pacman -Syu), so i ended up removing Anconda and everything else. But now i still getting errors like...
advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so advertencia: no se pudo obtener información del archivo
usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/jaraco.text-3.8.1.dist-info/
Hint: use LANG=C pacman -Syu If you seek help on an international mailing list. Messages in English are a lot easier to work with. :)
[...]
So, does anybody has seen or been in something like this? any hints how can I "purge" "remove" or deinstall properly the buggy libraries and reinstall everything properly?
Hope someone have a good pointer. Thanks in advance.
Well, it looks like your python installation is messed up. Hence my question about installing from source. Could you try to use these (broken) applications as another user? With a bit of luck, it's only the personal environment that got broken. If it doesn't work with another user, then you might have corrupted the files. Perhaps that can be fixed by reinstalling the packages (from a known good source), otherwise it's probably time to reinstall Arch completely and restore the user data from backup. Of course, this being Linux, you could also opt to check each file under /usr with pacman. (Can this be done the other way around? By letting pacman test the integrity of each installed pkg?). There's nothing wrong with a little manual work, I'm just guessing that starting from scratch might be faster, depending on the damage. Mvg, Guus Snijders
El 2022-08-19 06:16, Guus Snijders via arch-general escribió:
Op vr 19 aug. 2022 04:00 schreef admin--- via arch-general < arch-general@lists.archlinux.org>:
Hi guys,
Recently tried to install Spyder IDE but i got a ton of errors, so after trying different approaches I found that probably doing it through Anaconda would be better.
Ok, first question: how did you install these applications? Was it an Arch package or from source? Or even another packager like PIP?
I tried to install it from Arch pkg first, and then from AUR, finally I use the Anaconda installer
And try first with AUR, but never could, so I
download Anacondas installer and after a huge amount of time it got installed. So there it was Anaconda + Spyder etc.... however I started to get a ton of Python related warnings and error every time I updated (pacman -Syu), so i ended up removing Anconda and everything else. But now i still getting errors like...
advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/btrfsutil.cpython-310-x86_64-linux-gnu.so advertencia: no se pudo obtener información del archivo
usr/lib/python3.10/site-packages/_distutils_hack/__pycache__/override.cpython-310.pyc advertencia: no se pudo obtener información del archivo usr/lib/python3.10/site-packages/jaraco.text-3.8.1.dist-info/
Hint: use LANG=C pacman -Syu If you seek help on an international mailing list. Messages in English are a lot easier to work with. :)
:D good point, thanks.
[...]
So, does anybody has seen or been in something like this? any hints how can I "purge" "remove" or deinstall properly the buggy libraries and reinstall everything properly?
Hope someone have a good pointer. Thanks in advance.
Well, it looks like your python installation is messed up. Hence my question about installing from source.
Could you try to use these (broken) applications as another user? With a bit of luck, it's only the personal environment that got broken.
Yep, I tried it wiht a brand new user with the same result :(
If it doesn't work with another user, then you might have corrupted the files. Perhaps that can be fixed by reinstalling the packages (from a known good source), otherwise it's probably time to reinstall Arch completely and restore the user data from backup.
This is what i was trying to avoid, but every day i see it more near as a solution.
Of course, this being Linux, you could also opt to check each file under /usr with pacman. (Can this be done the other way around? By letting pacman test the integrity of each installed pkg?).
There's nothing wrong with a little manual work, I'm just guessing that starting from scratch might be faster, depending on the damage.
yes, I agree. Thanks Guus for your comments.
Regards
Mvg, Guus Snijders
participants (9)
-
admin@linuxsrv.org
-
Bjoern Franke
-
David C. Rankin
-
Guus Snijders
-
Jonathon Fernyhough
-
Ralf Mardorf
-
Ralph Corderoy
-
Randy DuCharme
-
Randy DuCharme