Giter Club home page Giter Club logo

Comments (13)

amellnik avatar amellnik commented on June 11, 2024 3

@mogit You can install gfortran via Msys2 by following the instructions here: https://github.com/orlp/dev-on-windows/wiki/Installing-GCC--&-MSYS2

from glmnet.jl.

amellnik avatar amellnik commented on June 11, 2024 1

That's expected. You should see the same thing if you run it from powershell/cmd in windows if you also added it to the windows (not Msys2) path. If that's the case then you should be able to run julia and try to add GLMNet again.

from glmnet.jl.

raphaelsaavedra avatar raphaelsaavedra commented on June 11, 2024 1

@amellnik I managed to make it work by running Julia as administrator. Apparently my user did not have the necessary permissions to run gfortran while building GLMNet? Either way thank you for the help.

from glmnet.jl.

Jacob-Stevens-Haas avatar Jacob-Stevens-Haas commented on June 11, 2024 1

@amellnik Thanks! I had the same problem, and the same solution.

from glmnet.jl.

simonbyrne avatar simonbyrne commented on June 11, 2024

Supposedly mingw is available on appveyor, perhaps it is worth enabling it?

from glmnet.jl.

mogit avatar mogit commented on June 11, 2024

Hey. I was trying to build GLMNet for Julia on Windows and I get following errors .

julia

from glmnet.jl.

raphaelsaavedra avatar raphaelsaavedra commented on June 11, 2024

Hello,

I'm facing the exact same problem as @mogit. I have tried @amellnik's solution but it hasn't produced any change in the error.

from glmnet.jl.

amellnik avatar amellnik commented on June 11, 2024

@raphaelsaavedra Did you also add the location of gfortran.exe to your path? It's something like C:\msys64\mingw64\bin.

from glmnet.jl.

raphaelsaavedra avatar raphaelsaavedra commented on June 11, 2024

Hey @amellnik, thanks for the quick answer. Yes, I have added the location of both mingw64 and 32 to my path.

When trying to run gfortran on MinGW, the following error occurs:

image

I have followed all instructions in the link you provided before. I'll also add I'm working on Windows 7. My friend who has a mac had no issues.

from glmnet.jl.

RuilinOuyang avatar RuilinOuyang commented on June 11, 2024

Hello @amellnik,
I'm also having the same problem as @mogit, but I'm using a Mac. Is there any suggestions? Thank you!

from glmnet.jl.

amellnik avatar amellnik commented on June 11, 2024

Hi @RuilinOuyang -- as it happens I just became a Mac user myself. You can install gfortran via Homebrew with brew install gcc and everything should work fine after that.

from glmnet.jl.

RuilinOuyang avatar RuilinOuyang commented on June 11, 2024

@amellnik Thank you! I did what you said, it's working now.

from glmnet.jl.

PaulSoderlind avatar PaulSoderlind commented on June 11, 2024

Distributing compiled dependencies would be a great help to users.

from glmnet.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.