bug#52348: Error installing pytorch and tensorflow

2021-12-07 Thread zimoun
Hi,

On Tue, 7 Dec 2021 at 09:47, Cayetano Santos via Bug reports for GNU
Guix  wrote:

>   By just issuing a
>
> guix install python-pytorch tensorflow
>
> I get a conflict error with python-protobuf (3.6.1 and 3.12.4).

Yes, indeed.  tensorflow propagates python-protobuf@3.6.  And
python-pytorch propagates onnx which itself propagated
python-protobuf@3.12.  As the error message says. :-)


> However, when I
>
> guix shell --container python-pytorch tensorflow
>
> I manage to create an environment with no issue.

Oh, yes it works.  However, note that tensorflow is probably not
compatible with the current Numpy version.


Hum, I do not know what is expected. :-)  Is it that 'shell' does as
'install' does?  Or contrary?  Well, I thought that "shell" was doing
the same thing as "install" but the profile was just marked as
temporary.


Cheers,
simon





bug#52348: Error installing pytorch and tensorflow

2021-12-07 Thread Cayetano Santos via Bug reports for GNU Guix



Hi guix,

 By just issuing a

   guix install python-pytorch tensorflow

I get a conflict error with python-protobuf (3.6.1 and 3.12.4). 
However, when I


   guix shell --container python-pytorch tensorflow

I manage to create an environment with no issue.

Finally, with ’guix pack ...’ I get the same error as before.

Best,

Cayetano Santos