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


Groups > linux.debian.user > #269833

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-02 13:50 +0200
Message-ID <IKRSO-59B-7@gated-at.bofh.it> (permalink)
References (7 earlier) <IKDG9-hwO3-5@gated-at.bofh.it> <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>
Organization linux.* mail to news gateway

Show all headers | View raw


Richard wrote:
>
>
> On Sat, Jun 1, 2024, 23:50 Richmond <dnomhcir@gmx.com
> <mailto:dnomhcir@gmx.com>> wrote:
>
>     Richard <rrosner5@gmail.com <mailto:rrosner5@gmail.com>> writes:
>
>     > A packages documentation is always your best
>     friend: https://pypi.org
>     > /project/idle/
>     >
>
>     Yes it makes it look easy there, but:
>
>     import idle
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>       File ".local/pipx/shared/lib/python3.11/site-packages/idle.py",
>     line 4, in <module>
>         from layout import *
>     ModuleNotFoundError: No module named 'layout'
>
> That's what I'm talking about. You wildly mix commands together that
> don't go together. And whatever is off with your paths. Things of pipx
> installed packages should be in .local/bin and .local/shared/pipx. At
> least on Debian that's the default. No idea what you did.
>
>
I don't think your assessment is correct, as I have booted opensuse,
where I do not even have pipx installed and have not used it. I did
these commands:

1059  pip install musicpy
 1062  pip install idle

I got the layout error so:

 1065  pip install layout

cured the layout error but then I got a gui error

 1067  pip install gui

There is no such package.

.local/lib/python3.6/site-packages/idle.py", line 26, in <module>
    gui.mainloop()
NameError: name 'gui' is not defined

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