Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PyPi release (missing libgfortran.so.3) #38

Open
mgbckr opened this issue Mar 7, 2019 · 1 comment
Open

Fix PyPi release (missing libgfortran.so.3) #38

mgbckr opened this issue Mar 7, 2019 · 1 comment

Comments

@mgbckr
Copy link

@mgbckr mgbckr commented Mar 7, 2019

Hi, when I install glmnet_py from PyPi via "pip install glmnet_py" I get an error about a missing library file, namely libgfortran.so.3:

OSError: libgfortran.so.3: cannot open shared object file: No such file or directory 

To solve this, I had install glmnet_py manually as suggested by the documentation:

git clone https://github.com/bbalasub1/glmnet_python.git
cd glmnet_python
python setup.py install

So, it seems that this may be an issue with the current PiPy release. So updating PiPy should solve the issue?

BTW: I am using Fedora 29 with Python 3.7.2

PS: Oh, and if you have time, can you clean up (or clarify in the README) the whole glmnet situation with regard to PiPy and the docs which is kind of confusing :) (glmnet-py VS glmnet-python, https://github.com/bbalasub1/glmnet_python VS https://github.com/hanfang/glmnet_py VS https://github.com/bbalasub1/glmnet_python)

@mgbckr mgbckr changed the title Push new version to PyPi (missing libgfortran.so.3) Fix PyPi release (missing libgfortran.so.3) Mar 7, 2019
@GentaK2018
Copy link

@GentaK2018 GentaK2018 commented Aug 21, 2021

@mgbckr
Hello, I solved the OSError by refering below:
https://stackoverflow.com/questions/62908955/how-to-install-libgfortran-so-3-on-ubuntu-20-04

You need to ececute sudo apt-get update before sudo apt-get install g++-6.

My environment: Python Python 3.6.13 64bit, Ubuntu 20.04 LTS on WSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants