From: cal <cal@mail.meme.technology>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] python2 problem
Date: Sun, 8 Aug 2021 10:06:23 -0700 [thread overview]
Message-ID: <a947d035-b3ea-e439-45a6-e1c32c596ed2@mail.meme.technology> (raw)
In-Reply-To: <3adcdee4-b353-b895-aab2-591ffd3cd882@iinet.net.au>
On 8/8/21 5:12 AM, William Kenworthy wrote:
> Hi, I am trying to install the ssspsk python module using pip for python
> 2 (for tuya-convert) but its not working.
>
> I have installed python 2.7 from portage and followed the wiki (set
> python_targets, emerge -NuDv etc.), however pip seems to only know how
> to install for python3.
>
> For python 2.7 do I need to go completely manual for installation?
>
> BillK
>
Gentoo's dev-lang/python package configures Python --without-ensurepip,
meaning that pip will not be installed alongside this package by
default. There is a separate dev-python/pip package providing pip, but
it appears this package only supports Python 3 targets (which is
reasonable as 2.7 is no longer supported upstream).
If you *really* need Python 2.7, you could modify the ebuild of
dev-lang/python-2.7 to enable --with-ensurepip, or you could try to make
the dev-python/pip package support the python2_7 target, or you could
download the source from python.org and configure/build it yourself into
a separate directory.
However, it is probably worth first checking if there is a release of
the software you want to use that supports Python 3 instead.
cal
next prev parent reply other threads:[~2021-08-08 17:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-08 12:12 [gentoo-user] python2 problem William Kenworthy
2021-08-08 17:06 ` cal [this message]
2021-08-08 17:27 ` Bill Kenworthy
2021-08-08 17:23 ` Bill Kenworthy
2021-08-08 18:38 ` Michael Dinon
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=a947d035-b3ea-e439-45a6-e1c32c596ed2@mail.meme.technology \
--to=cal@mail.meme.technology \
--cc=gentoo-user@lists.gentoo.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox