ores icon indicating copy to clipboard operation
ores copied to clipboard

Failed to install `pip3 install ores`

Open xinbenlv opened this issue 7 years ago • 5 comments

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

xinbenlv avatar Dec 19 '17 01:12 xinbenlv

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 avatar Dec 19 '17 14:12 halfak

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

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

halfak avatar Dec 19 '17 14:12 halfak

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

xinbenlv avatar Dec 19 '17 22:12 xinbenlv

requirements.txt

revi avatar Dec 20 '17 00:12 revi

Is this still an issue or can we close this.

halfak avatar Apr 24 '20 14:04 halfak