Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1027927: pipx: cannot install python application

102 views
Skip to first unread message

ChangZhuo Chen

unread,
Jan 4, 2023, 12:32:15 PM1/4/23
to
Package: pipx
Version: 1.0.0-1
Severity: important

Hi,

We have the following error when runuing install command "pipx install
httpie":

PIP STDOUT
----------

PIP STDERR
----------
/home/czchen/.local/pipx/venvs/httpie/bin/python: No module named pip


This makes pipx unusable.


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pipx depends on:
ii python3 3.11.1-1
ii python3-argcomplete 2.0.0-1
ii python3-importlib-metadata 4.12.0-1
ii python3-packaging 22.0-2
ii python3-userpath 1.8.0-1
ii python3-venv 3.11.1-1

Versions of packages pipx recommends:
ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-4.1
ii libjs-bootstrap4 4.6.1+dfsg1-4
ii libjs-highlight.js 9.18.5+dfsg1-2
ii libjs-jquery 3.6.1+dfsg+~3.5.14-1
ii libjs-lunr 2.3.9~dfsg-2
ii mkdocs 1.4.2+dfsg-2

pipx suggests no packages.

-- no debconf information

--
ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org
http://czchen.info/
Key fingerprint = BA04 346D C2E1 FE63 C790 8793 CC65 B0CD EC27 5D5B
signature.asc

Tomas Janousek

unread,
Jan 29, 2023, 3:10:05 PM1/29/23
to

Hi,

On Thu, Jan 05, 2023 at 01:19:58AM +0800, ChangZhuo Chen wrote:

We have the following error when runuing install command "pipx install
httpie":

[…]


/home/czchen/.local/pipx/venvs/httpie/bin/python: No module named pip

I ran into a similar issue now that python3.11 arrived as the default in testing, and wiping ~/.local/pipx helped. That's probably because pipx keeps a shared venv in ~/.local/pipx/shared but doesn't check whether that venv's python version matches the one you're currently using.

--

Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/

ChangZhuo Chen

unread,
Jan 30, 2023, 9:30:11 AM1/30/23
to
On Sun, Jan 29, 2023 at 07:56:09PM +0000, Tomas Janousek wrote:
> On Thu, Jan 05, 2023 at 01:19:58AM +0800, ChangZhuo Chen wrote:
> > We have the following error when runuing install command "pipx install
> > httpie":
> > […]
> > /home/czchen/.local/pipx/venvs/httpie/bin/python: No module named pip
>
> I ran into a similar issue now that python3.11 arrived as the default in
> testing, and wiping ~/.local/pipx helped. That's probably because pipx keeps
> a shared venv in ~/.local/pipx/shared but doesn't check whether that venv's
> python version matches the one you're currently using.

pipx works on my machine now, thanks for the tip. Maybe this information
shall be in NEWS so that user knows how to solve the problem by
themself.
signature.asc

Stefano Rivera

unread,
Oct 24, 2023, 6:10:05 AM10/24/23
to
Version: 1.2.0-1

This should have been fixed in 1.2.0.

Stefano

--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
0 new messages