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

Failed to install pip3 install ores #242

Open
xinbenlv opened this issue Dec 19, 2017 · 5 comments
Open

Failed to install pip3 install ores #242

xinbenlv opened this issue Dec 19, 2017 · 5 comments

Comments

@xinbenlv
Copy link

xinbenlv commented Dec 19, 2017

In both my OS X and ubuntu machine when running pip3 install ores, it failed exactly the same

...
    Could not locate executable ifc
    customize GnuFCompiler
    Could not locate executable g77
    customize G95FCompiler
    Could not locate executable g95
    customize PGroupFCompiler
    Could not locate executable pgfortran
    don't know how to compile Fortran code on platform 'posix'
    building 'dfftpack' library
    error: library dfftpack has Fortran sources but no Fortran compiler found

    ----------------------------------------
  Rolling back uninstall of scipy
Command "/usr/local/opt/python3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/3g/33t2d4cx1zq48f5why61xfy8005h9c/T/pip-build-0ikzyzws/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/3g/33t2d4cx1zq48f5why61xfy8005h9c/T/pip-5io5odcb-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/3g/33t2d4cx1zq48f5why61xfy8005h9c/T/pip-build-0ikzyzws/scipy/

I wonder if anyone experience the same

@halfak
Copy link
Member

halfak commented Dec 19, 2017

It looks like one of your build dependencies is missing. if you're on ubuntu/debian, try the install instructions in https://github.com/wiki-ai/revscoring.

Generally, this is a scipy installation issue. Scipy is one of our dependencies. So they can help you out too if you're not running Ubuntu.

@halfak
Copy link
Member

halfak commented Dec 19, 2017

The specific command from the Ubuntu installation instructions for build dependencies is:

sudo apt-get install python3-dev g++ gfortran liblapack-dev libopenblas-dev

@xinbenlv
Copy link
Author

It happens to both my mac and ubuntu. Let me check ubuntu dependency requirement. Does ORES have requirements.txt?

@revi
Copy link
Contributor

revi commented Dec 20, 2017

requirements.txt

@halfak
Copy link
Member

halfak commented Apr 24, 2020

Is this still an issue or can we close this.

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