From: Matt <matt@excalamus.com>
To: "zimoun" <zimon.toutoune@gmail.com>
Cc: "help-guix" <help-guix@gnu.org>
Subject: Re: PySide2 not found when installing from PyPI
Date: Wed, 25 May 2022 19:03:21 -0400 [thread overview]
Message-ID: <180fd75dc01.fd4b37d71519331.300182659302146989@excalamus.com> (raw)
In-Reply-To: <87sfoxd6rg.fsf@gmail.com>
---- On Wed, 25 May 2022 10:30:27 -0400 zimoun <zimon.toutoune@gmail.com> wrote ----
> > ERROR: Could not find a version that satisfies the requirement PySide2>=5.15 (from versions: none)
> > ERROR: No matching distribution found for PySide2>=5.15
>
> Why do you specify in requirements.txt
>
> PySide2==5.15.2.1
Are you quoting the requirements from my GitHub? The requirements there do not correspond to the output I've given here. Sorry, but I have not pushed what I'm working with because it is not working (i.e. the error we're talking about). The requirements.txt I used to produce the output here has PySide2>=5.15. The same is in is the setup.py (also "PySide2>=5.15"). I've tried all == variations of 5.15, 5.15.2, and 5.15.2.1 as well and get a similar error, "No matching distribution for PySide2==5.15[.2[.1]]". PyPI has releases for each of these.
>
> ? When Guix provides 5.15.2.
>
> > Looking at PyPI, wheels definitely exist. I'm also able to install
> > and run it no problem from PyPI on Debian. When I try installing from
> > PyPI on Guix through a venv, the package installs (but fails on
> > ImportError: libgthread-2.0.so.0: cannot open shared object file: No
> > such file or directory. That's beside the point, though, PySide2
> > installs.).
>
> How is this PySide2 installed? From Guix or from PyPI?
On my Guix System machine, everything is installed through Guix.
ahab@pequod ~$ guix package -l | grep python-pyside-2
python-pyside-2 5.15.2 out /gnu/store/yh5rdz0vsjy61qil8s4f8m5mz4jmg1kp-python-pyside-2-5.15.2
That's my reason for saying Guix provides 5.15.2.
On the Guix System machine, if I create a Python venv and try to install PySide2 within that, it installs, but throws the libgthread error when I try to run the application.
> > I'm also confused because it says
> >
> > file t_rex_typer.py (for module t_rex_typer) not found
> >
> > The file is definitely in there and, as I said, it runs on Debian, so must be packaged correctly in terms of the Python imports etc.
>
> I do not know. I have not checked your files but I guess something is
> misconfigured in setup.py or alike. Then installing using pip on Debian
> works because pip works with “half” package ;-) Contrary to Guix which
> often points more issues.
That's good to know! I'll revisit the Python documentation and confirm I don't have "half" a package.
Thank you for taking the time to look at this with me!
next prev parent reply other threads:[~2022-05-25 23:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 12:52 PySide2 not found when installing from PyPI Matt
2022-05-25 14:30 ` zimoun
2022-05-25 23:03 ` Matt [this message]
2022-05-25 16:36 ` Enrico Schwass via
2022-05-25 23:06 ` Matt
2022-05-26 5:35 ` Matt
2022-05-26 15:59 ` Luis Felipe
2022-05-27 0:22 ` Matt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=180fd75dc01.fd4b37d71519331.300182659302146989@excalamus.com \
--to=matt@excalamus.com \
--cc=help-guix@gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.