You are not logged in.

#26 2022-07-29 21:38:18

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved]python pip no longer installing packages

oh, I thought since it was an AUR package, I had to use yay specifically over pacman to remove it.

is this ok to do?

pacman -R python38
checking dependencies...
:: btrfs-progs optionally requires python: libbtrfsutil python bindings
:: cantor optionally requires python: Python backend
:: clang optionally requires python: for scan-view and git-clang-format
:: git optionally requires python: git svn & git p4
:: glib2 optionally requires python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report
:: graphviz optionally requires python: python bindings
:: gstreamer optionally requires python: gst-plugins-doc-cache-generator
:: gtk2 optionally requires python: gtk-builder-convert
:: gupnp optionally requires python: gupnp-binding-tool
:: imath optionally requires python: python bindings
:: ki18n optionally requires python: to compile .ts files
:: konversation optionally requires python: python scripting support
:: kopeninghours optionally requires python: Python bindings
:: ldb optionally requires python: for python bindings
:: lensfun optionally requires python: for lensfun-update-data and lensfun-add-adapter
:: libbytesize optionally requires python: for bscalc command
:: libcec optionally requires python: use cec in python applications
:: libevent optionally requires python: to use event_rpcgen.py
:: libftdi optionally requires python: library bindings
:: libieee1284 optionally requires python: for python module
:: libmsym optionally requires python: Python bindings
:: libnewt optionally requires python: libnewt support with the _snack module
:: libproxy optionally requires python: Python 3.x bindings
:: libsmbios optionally requires python: tools
:: libvirt-glib optionally requires python: support for python
:: libxml2 optionally requires python: Python bindings
:: libxslt optionally requires python: Python bindings
:: lilv optionally requires python: for Python bindings
:: lirc optionally requires python: for lirc-setup, irdb-get and pronto2lirc
:: mc optionally requires python: to access uc1541 or s3 storage
:: mlt optionally requires python: python bindings
:: net-snmp optionally requires python: for the python modules
:: newsboat-git optionally requires python: for exportOPMLWithTags.py
:: nfs-utils optionally requires python: for nfsiostat, nfsdclnts and mountstats usage
:: opencolorio optionally requires python: python bindings
:: picom optionally requires python: for running picom-convgen.py
:: shiboken6 optionally requires python: Python bindings
:: talloc optionally requires python: for python bindings
:: tdb optionally requires python: for python bindings
:: tevent optionally requires python: for python bindings
:: usbutils optionally requires python: for lsusb.py usage
:: util-linux optionally requires python: python bindings to libmount
:: vim optionally requires python: Python language support
:: vim-runtime optionally requires python: demoserver example tool
:: volume_key optionally requires python: for python bindings
:: vtk optionally requires python: python bindings
:: xfsprogs optionally requires python: for xfs_scrub_all script
:: zbar optionally requires python: for zbar python bindings

Package (1)  Old Version  Net Change

python38     3.8.13-2     -116.60 MiB

Total Removed Size:  116.60 MiB

:: Do you want to remove these packages? [Y/n]

thank you.

Offline

#27 2022-07-29 21:42:27

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [solved]python pip no longer installing packages

Package (1)  Old Version  Net Change

python38     3.8.13-2     -116.60 MiB

Total Removed Size:  116.60 MiB

:: Do you want to remove these packages? [Y/n]

Do you think this is ok for you?

Offline

#28 2022-07-29 21:48:38

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved]python pip no longer installing packages

is pacman going to remove just python3.8 or all the listed packages? I want to think I'm safe, but I'm not sure.

Offline

#29 2022-07-29 21:59:04

seth
Member
Registered: 2012-09-03
Posts: 59,771

Re: [solved]python pip no longer installing packages

How many other packages are listed?
What is the projected change?
Also look at the "Total removed size" and compare that to the size of any other package (esp. python38)

Offline

#30 2022-07-29 22:06:03

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved]python pip no longer installing packages

A lot of packages are listed as "optionally requiring python" when I run

pacman -R python38
checking dependencies...
:: btrfs-progs optionally requires python: libbtrfsutil python bindings
:: cantor optionally requires python: Python backend
:: clang optionally requires python: for scan-view and git-clang-format
:: git optionally requires python: git svn & git p4
:: glib2 optionally requires python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report
:: graphviz optionally requires python: python bindings
:: gstreamer optionally requires python: gst-plugins-doc-cache-generator
:: gtk2 optionally requires python: gtk-builder-convert
:: gupnp optionally requires python: gupnp-binding-tool
:: imath optionally requires python: python bindings
:: ki18n optionally requires python: to compile .ts files
:: konversation optionally requires python: python scripting support
:: kopeninghours optionally requires python: Python bindings
:: ldb optionally requires python: for python bindings
:: lensfun optionally requires python: for lensfun-update-data and lensfun-add-adapter
:: libbytesize optionally requires python: for bscalc command
:: libcec optionally requires python: use cec in python applications
:: libevent optionally requires python: to use event_rpcgen.py
:: libftdi optionally requires python: library bindings
:: libieee1284 optionally requires python: for python module
:: libmsym optionally requires python: Python bindings
:: libnewt optionally requires python: libnewt support with the _snack module
:: libproxy optionally requires python: Python 3.x bindings
:: libsmbios optionally requires python: tools
:: libvirt-glib optionally requires python: support for python
:: libxml2 optionally requires python: Python bindings
:: libxslt optionally requires python: Python bindings
:: lilv optionally requires python: for Python bindings
:: lirc optionally requires python: for lirc-setup, irdb-get and pronto2lirc
:: mc optionally requires python: to access uc1541 or s3 storage
:: mlt optionally requires python: python bindings
:: net-snmp optionally requires python: for the python modules
:: newsboat-git optionally requires python: for exportOPMLWithTags.py
:: nfs-utils optionally requires python: for nfsiostat, nfsdclnts and mountstats usage
:: opencolorio optionally requires python: python bindings
:: picom optionally requires python: for running picom-convgen.py
:: shiboken6 optionally requires python: Python bindings
:: talloc optionally requires python: for python bindings
:: tdb optionally requires python: for python bindings
:: tevent optionally requires python: for python bindings
:: usbutils optionally requires python: for lsusb.py usage
:: util-linux optionally requires python: python bindings to libmount
:: vim optionally requires python: Python language support
:: vim-runtime optionally requires python: demoserver example tool
:: volume_key optionally requires python: for python bindings
:: vtk optionally requires python: python bindings
:: xfsprogs optionally requires python: for xfs_scrub_all script
:: zbar optionally requires python: for zbar python bindings

Package (1)  Old Version  Net Change

python38     3.8.13-2     -116.60 MiB

Total Removed Size:  116.60 MiB

:: Do you want to remove these packages? [Y/n]

The way it's worded, I can't tell if it is referring to python38 or the entire list that preceded it. It wants to remove 160MiB of data, but /usr/bin/python3.8 is 14k in size.

Offline

#31 2022-07-29 22:15:11

loqs
Member
Registered: 2014-03-06
Posts: 18,124

Re: [solved]python pip no longer installing packages

From post #19

pacman -Qi python38

Name            : python38
Version         : 3.8.13-2
...
Installed Size  : 116.60 MiB

Edit:
You could also compare the output of the following

# pacman -R python38
# pacman -R python
# pacman -Rc python

Last edited by loqs (2022-07-29 22:18:20)

Offline

#32 2022-07-29 22:18:25

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

Re: [solved]python pip no longer installing packages

ok. thank you. I don't have any other boot images at the moment, and after last week, when my root btrfs went read-only on me, I'm just a bit gun-shy.

Offline

#33 2022-08-14 14:31:40

TheoCGaming
Member
Registered: 2022-08-14
Posts: 14

Re: [solved]python pip no longer installing packages

Hi, I'm getting the same error shown here, is there a way you can summarize what I would need to do to get pip working again?

Side note: I'm surprised this is the only result Google has for this...

I tried deleting the ~/.local version of the "packages" folder, but it popped up with the same error on the file in /usr/lib!

Last edited by TheoCGaming (2022-08-14 14:37:50)

Offline

#34 2022-08-14 17:05:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,257

Re: [solved]python pip no longer installing packages

TheoGaming, had you also installed a second version of Python from the AUR?  If this is not the exact same cause, I am going to suggest you start a new thread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#35 2022-08-15 07:42:34

TheoCGaming
Member
Registered: 2022-08-14
Posts: 14

Re: [solved]python pip no longer installing packages

Interestingly, it seems that only 2 python packages were installed through pacman -S: python2 and python-pip (from attempting a fix)

Commands used:

pacman -Qq | grep python
pacman -Qqe | grep python

Offline

#36 2022-08-15 07:49:11

loqs
Member
Registered: 2014-03-06
Posts: 18,124

Re: [solved]python pip no longer installing packages

This does not appear to have the same cause as shoelesshunter.  Please start a new thread for your issue.

Offline

Board footer

Powered by FluxBB