Mailing List Archive

How to make Gentoo more cooperative?
Hi,

I'm trying to install sci-libs/tensorflow & Co for Python 3.9 (nearly
all of system has been built for this version)

I've tried emerge -v --deep --verbose-conflict
but it just tells me to drop python_targets_python3_9 without telling
me why.

I have checked all Python dependencies to be installed for Python 3.9,
but still ...

Is there any way to find out why portage thinks it cannot installed
tensorflow for Python 3.9

That problem is not specific to tensorflow.

Many thanks for a hint,
Helmut
Re: How to make Gentoo more cooperative? [ In reply to ]
On Wed, Oct 14, 2020 at 10:39 AM Helmut Jarausch <jarausch@skynet.be> wrote:
>
> Hi,
>
> I'm trying to install sci-libs/tensorflow & Co for Python 3.9 (nearly
> all of system has been built for this version)
>
> I've tried emerge -v --deep --verbose-conflict
> but it just tells me to drop python_targets_python3_9 without telling
> me why.
>
> I have checked all Python dependencies to be installed for Python 3.9,
> but still ...
>
> Is there any way to find out why portage thinks it cannot installed
> tensorflow for Python 3.9
>
> That problem is not specific to tensorflow.
>
> Many thanks for a hint,
> Helmut

I could be wrong but I don't think tensorflow 2 supports python 3.9 yet...

https://www.tensorflow.org/install/
Re: How to make Gentoo more cooperative? [ In reply to ]
On Wed, 14 Oct 2020 10:44:35 -0700, Mark Knecht wrote:

> I could be wrong but I don't think tensorflow 2 supports python 3.9
> yet...
>
> https://www.tensorflow.org/install/

It doesn't, at least not from the portage ebuild:

% eix -e tensorflow
* sci-libs/tensorflow
Available versions: (~)2.1.0 (~)2.2.0-r1 (~)2.2.0-r2 (~)2.3.1 {cuda mpi +python xla CPU_FLAGS_X86="avx avx2 fma3 fma4 sse sse2 sse3 sse4_1 sse4_2" PYTHON_TARGETS="python3_6 python3_7 python3_8"}
Homepage: https://www.tensorflow.org/
Description: Computation framework using data flow graphs for scalable machine learning


--
Neil Bothwick

Windows Error #02: Multitasking attempted. System confused.
Re: How to make Gentoo more cooperative? [ In reply to ]
On Wed, Oct 14, 2020 at 11:06 AM Neil Bothwick <neil@digimed.co.uk> wrote:
>
> On Wed, 14 Oct 2020 10:44:35 -0700, Mark Knecht wrote:
>
> > I could be wrong but I don't think tensorflow 2 supports python 3.9
> > yet...
> >
> > https://www.tensorflow.org/install/
>
> It doesn't, at least not from the portage ebuild:
>
> % eix -e tensorflow
> * sci-libs/tensorflow
> Available versions: (~)2.1.0 (~)2.2.0-r1 (~)2.2.0-r2 (~)2.3.1 {cuda
mpi +python xla CPU_FLAGS_X86="avx avx2 fma3 fma4 sse sse2 sse3 sse4_1
sse4_2" PYTHON_TARGETS="python3_6 python3_7 python3_8"}
> Homepage: https://www.tensorflow.org/
> Description: Computation framework using data flow graphs
for scalable machine learning
>

So the ebuild is consistent with Google's requirements which is sensible.
That doesn't mean tensorflow wouldn't work with 3.9 but that would require
the OP to modify the ebuild if there isn't some testing ebuild out in the
ether somewhere.

I'm sadly stuck running tensorflow on Colab because my monster i7 980
Extreme which has been such a wonderful workhorse for probably 8-10 years
now doesn't have the required instruction sets and I cannot justify
the cost of a new machine for this one program... <sniff>
Re: How to make Gentoo more cooperative? [ In reply to ]
On 10/14/2020 08:05:39 PM, Neil Bothwick wrote:
> On Wed, 14 Oct 2020 10:44:35 -0700, Mark Knecht wrote:
>
> > I could be wrong but I don't think tensorflow 2 supports python 3.9
> > yet...
> >
> > https://www.tensorflow.org/install/
>
> It doesn't, at least not from the portage ebuild:
>
> % eix -e tensorflow
> * sci-libs/tensorflow
> Available versions: (~)2.1.0 (~)2.2.0-r1 (~)2.2.0-r2 (~)2.3.1
> {cuda mpi +python xla CPU_FLAGS_X86="avx avx2 fma3 fma4 sse sse2 sse3
> sse4_1 sse4_2" PYTHON_TARGETS="python3_6 python3_7 python3_8"}
> Homepage: https://www.tensorflow.org/
> Description: Computation framework using data flow
> graphs for scalable machine learning
>
>

Thanks.
I have created a local overlay of course.
Tensorflow and all packages which it depends on have python3_9 in
PYTHON_TARGETS.
So, I just want 'emerge' to tell me why it is blocking python3.9. If I
have forgotten to create a local overlay of some of its
dependencies, 'emerge' should say me which dependency is missing
python3_9.

Helmut
Re: How to make Gentoo more cooperative? [ In reply to ]
On Thu, 15 Oct 2020 16:06:43 +0200, Helmut Jarausch wrote:

> > * sci-libs/tensorflow
> > Available versions: (~)2.1.0 (~)2.2.0-r1 (~)2.2.0-r2 (~)2.3.1
> > {cuda mpi +python xla CPU_FLAGS_X86="avx avx2 fma3 fma4 sse sse2 sse3
> > sse4_1 sse4_2" PYTHON_TARGETS="python3_6 python3_7 python3_8"}
> > Homepage: https://www.tensorflow.org/
> > Description: Computation framework using data flow
> > graphs for scalable machine learning

> I have created a local overlay of course.
> Tensorflow and all packages which it depends on have python3_9 in
> PYTHON_TARGETS.

Have you changed PYTHON_COMPAT in your local ebuild?
Have you confirmed that tensorflow works with Python 3.9?


--
Neil Bothwick

For security reasons, all text in this mail is double-rot13 encrypted.