GithubHelp home page GithubHelp logo

Comments (3)

maciejkula avatar maciejkula commented on August 19, 2024

Did you use the Dockerfile included in the lightfm repo? Your image needs
to have blas/lapack installed.

On 15 Jul 2016 01:41, "Sean M. Law, Ph.D." [email protected] wrote:

docker-compose build lightfm

Produces this on my Mac OS X:

File "/usr/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage caller_level = 2)
File "/usr/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage caller_level = caller_level + 1)
File "/usr/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/linalg/setup.py", line 20, in configuration
raise NotFoundError('no lapack/blas resources found')
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found


Can't roll back scipy; was not uninstalled
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-XnyZzK/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-cBi7ka-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-XnyZzK/scipy

Storing debug log for failure in /root/.pip/pip.log
ERROR: Service 'lightfm' failed to build: The command '/bin/sh -c pip
install .' returned a non-zero code: 1

I'm new to Docker but see that it is SciPy complaining about missing
lapack/blas


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#101, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACSCA6gLuEe02hYRKTpBT3qvE2uwwM5Wks5qVtc4gaJpZM4JM-rc
.

from lightfm.

seanlaw avatar seanlaw commented on August 19, 2024

Yeah, I just used the plain default image from Docker and then built lightfm using the provided Dockerfile. I added this line to the Dockerfile:

RUN apt-get install -y libopenblas-dev gfortran

And the install succeeded (though, with a lot of warnings). Should this line be added to the repo? Otherwise, the Docs won't reflect something that runs properly.

from lightfm.

maciejkula avatar maciejkula commented on August 19, 2024

OK, do you think you could make a PR with the fix?

On 15 Jul 2016 12:55, "Sean M. Law, Ph.D." [email protected] wrote:

Yeah, I just used the plain default image from Docker and then built
lightfm using the provided Dockerfile. I added this line to the Dockerfile:

RUN apt-get install -y libopenblas-dev gfortran

And the install succeeded. Should this be added to the repo? Otherwise,
the Docs won't reflect something that runs properly.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#101 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACSCA0MGZlYHOq5f4OlO5z7_TOfRR3_cks5qV2c0gaJpZM4JM-rc
.

from lightfm.

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.