Can sklearn be installed and if so in a venv?

karu.pruun karu.pruun at gmail.com
Wed Jul 1 05:55:51 PDT 2020


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.
>
> cheers
> phansi
> <phansi.work at gmail.com>


More information about the Users mailing list