Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #269835

Re: Installing a python package with pipx

From Richard <rrosner5@gmail.com>
Newsgroups linux.debian.user
Subject Re: Installing a python package with pipx
Date 2024-06-02 14:10 +0200
Message-ID <IKSc9-5vL-3@gated-at.bofh.it> (permalink)
References (8 earlier) <IKE9b-hxfw-1@gated-at.bofh.it> <IKEsx-hxnJ-1@gated-at.bofh.it> <IKEVz-hxET-1@gated-at.bofh.it> <IKF5f-hy4Z-1@gated-at.bofh.it> <IKS2t-5cT-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

python3 -m venv venv
source venv/bin/activate
pip install musicpy

That's how its done. Also, complaining here about something that doesn't
even work on other distros and thus can't be a Debian problem doesn't make
that much sense.

Am So., 2. Juni 2024 um 13:50 Uhr schrieb Richmond <dnomhcir@gmx.com>:

> OK Back on Debian, I removed the one package installed with pipx, which
> was musicpy, then tried to install it with pip, but got this message
> which actually tells me to use pipx. (There is no package python-musicpy).
>
> pip install musicpy
> error: externally-managed-environment
>
> × This environment is externally managed
> ╰─> To install Python packages system-wide, try apt install
>     python3-xyz, where xyz is the package you are trying to
>     install.
>
>     If you wish to install a non-Debian-packaged Python package,
>     create a virtual environment using python3 -m venv path/to/venv.
>     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
>     sure you have python3-full installed.
>
>     If you wish to install a non-Debian packaged Python application,
>     it may be easiest to use pipx install xyz, which will manage a
>     virtual environment for you. Make sure you have pipx installed.
>
>     See /usr/share/doc/python3.11/README.venv for more information.
>
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-01 18:20 +0200
  Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-01 18:30 +0200
    Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-01 18:50 +0200
      Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-01 18:50 +0200
        Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-01 19:20 +0200
          Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-01 19:50 +0200
            Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-01 22:10 +0200
              Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-01 22:40 +0200
                Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-01 23:10 +0200
                Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-01 23:30 +0200
                Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-02 00:00 +0200
                Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-02 00:10 +0200
                Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-02 13:50 +0200
                Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-02 14:00 +0200
                Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-02 14:10 +0200
                Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-02 14:30 +0200
                Re: Installing a python package with pipx Richard <rrosner5@gmail.com> - 2024-06-02 15:00 +0200
                Re: Installing a python package with pipx Richmond <dnomhcir@gmx.com> - 2024-06-02 14:50 +0200

csiph-web