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


Groups > linux.debian.user > #269815

Re: Installing a python package with pipx

From Richmond <dnomhcir@gmx.com>
Newsgroups linux.debian.user
Subject Re: Installing a python package with pipx
Date 2024-06-01 22:10 +0200
Message-ID <IKDd7-hwBE-1@gated-at.bofh.it> (permalink)
References (1 earlier) <IKzMd-htVu-1@gated-at.bofh.it> <IKA5z-hu5f-1@gated-at.bofh.it> <IKA5z-hu5f-3@gated-at.bofh.it> <IKAyB-huz3-1@gated-at.bofh.it> <IKB1D-huLk-3@gated-at.bofh.it>
Organization Frantic

Show all headers | View raw


Richard <rrosner5@gmail.com> writes:

> That's the point of venv's. pipx runpip should do the trick. Or the
> classic way: source path/to/venv/bin/activate. That way you activate
> the position virtual environment (venv) created in that directory
> with all packages installed in that venv.
>

I got it working by doing:

python3 -m venv .local/pipx/venvs/musicpy/

.local/pipx/venvs/musicpy/bin/python3.11

Then I was able to import musicpy from the python shell.

How bewildering!

Thanks.

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