Re: Installing a python package with pipx
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
Reply to: