[gentoo-user] python2 problem

2021-08-08 Thread William Kenworthy
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-user] unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1

2021-08-08 Thread Alarig Le Lay
Hello,

After upgrading to 4.14.240-gentoo, I’m seeing “unregister_netdevice:
waiting for ip6gre0 to become free. Usage count = -1” being flooded by
syslogd. This box was running 4.14.194-gentoo before and I don’t have
any other 4.14.240-gentoo running yet.

As per https://github.com/moby/moby/issues/5618 it’s more or less a
recurring issue with the kernel.

Has it been seen on you boxes too?

-- 
Alarig



Re: [gentoo-user] python2 problem

2021-08-08 Thread cal
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



Re: [gentoo-user] python2 problem

2021-08-08 Thread Bill Kenworthy
Sorry, so many typos, here it is again :(

Hi, I am trying to install the sslpsk python module using pip for python (for 
tuya-convert) but its not working - python3 works, python2 doesn't. It was 
working a  few months back on a different system.

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 using old 
packages?
BillK



On 8 August 2021 8:12:26 pm AWST, 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
>
>
>

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: [gentoo-user] python2 problem

2021-08-08 Thread Bill Kenworthy


On 9 August 2021 1:06:23 am AWST, cal  wrote:
>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
>

Thanks,  I'll look into this. 
BillK


Re: [gentoo-user] python2 problem

2021-08-08 Thread Michael Dinon
On Sunday, August 8, 2021, 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
>
>
>
>

-- 
Kind regards,
Mike


Re: [gentoo-user] unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1

2021-08-08 Thread Michael
On Sunday, 8 August 2021 17:06:36 BST Alarig Le Lay wrote:
> Hello,
> 
> After upgrading to 4.14.240-gentoo, I’m seeing “unregister_netdevice:
> waiting for ip6gre0 to become free. Usage count = -1” being flooded by
> syslogd. This box was running 4.14.194-gentoo before and I don’t have
> any other 4.14.240-gentoo running yet.
> 
> As per https://github.com/moby/moby/issues/5618 it’s more or less a
> recurring issue with the kernel.
> 
> Has it been seen on you boxes too?

I don't recall seeing it, but have been on 5.x.x releases for a while now.

signature.asc
Description: This is a digitally signed message part.