Can sklearn be installed and if so in a venv?

phansi.work phansi.work at gmail.com
Wed Jul 1 07:06:53 PDT 2020


Hello,

Thanks! The pip install sklearn worked beautifully after the gcc8 install and linking.

I did not realise that I had to install gcc8 even if my base install has gcc which is version 8. Was wondering why I could not locate gfortran. Again, many thanks.

-- 
cheers
phansi

On Wed, 1 Jul 2020 15:55:51 +0300
"karu.pruun" <karu.pruun at gmail.com> wrote:

> Hello
> 
> I'm using DragonFly as a jupyterhub server, installed the hub and
> compute parts into different venv-s. For fortran, just do
> 
> # pkg install gcc8
> # ln -s /usr/local/bin/gfortran8 /usr/local/bin/gfortran
> 
> or the same for gcc9. Then install sklearn with pip into your (compute) venv.
> 
> Cheers
> 
> Peeter
> 
> --
> 
> 
> 
> 
> 
> On Wed, Jul 1, 2020 at 3:05 PM phansi.work <phansi.work at gmail.com> wrote:
> >
> > Hello,
> >
> > 1 Would like to shift to DragonflyBSD from Linux for work. As a compute server.
> > 2 Able to install really no problems at all.
> >
> > Problem(s)
> >
> > 1 I use python, with sklearn. In a virtual environment, not global as require different versions.
> > 2 Without pasting the (huge error) pip install sklearn APPEARS to fail because be lack of a fortran compiler.
> > 3 sklearn seems to need one, cannot locate it,
> > 4 gcc claims to have a fortran compiler, NOT gfortran but with flags which I am unable to decipher.
> >





More information about the Users mailing list