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 · 2 comments
Open

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

mgbckr opened this issue Mar 7, 2019 · 2 comments

Comments

@mgbckr
Copy link

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

@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

@jamesdj
Copy link

jamesdj commented Feb 11, 2022

I also encountered this problem. The pip installed version depends on gfortran 3, which is no longer supported on many OS, while the current version in the repo uses gfortran 4.4.7 and works. While there may be workarounds to install gfortran 3, it would be best to update the PyPi release so that such workarounds become unnecessary.

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

No branches or pull requests

3 participants