Giter Club home page Giter Club logo

Comments (13)

csukuangfj avatar csukuangfj commented on May 26, 2024 1

I just tried

pip install git+https://github.com/danpovey/lilcom

and got the same error message as the one posted by @janvainer.

I think the problem is that pip install will try to run setup.py, but setup.py assumes that
numpy has already been installed.

from lilcom.

csukuangfj avatar csukuangfj commented on May 26, 2024

It is mentioned in setup.py:

install_requires=['numpy'],

It would be great if PyPI contains prebuilt wheel packages, so that pip install will install numpy automatically.

from lilcom.

danpovey avatar danpovey commented on May 26, 2024

from lilcom.

danpovey avatar danpovey commented on May 26, 2024

from lilcom.

csukuangfj avatar csukuangfj commented on May 26, 2024

@danpovey
There is something called manylinux. See https://github.com/pypa/manylinux

In summary: a wheel compiled for manylinux can run not only on Ubuntu, Debian, but also on other
Linuxes, like CentOS, Redhat, etc. That is the meaning of many. This kind of wheel uses only
a limited set of C APIs that are supported by GLIBC on many Linux OSes.

from lilcom.

csukuangfj avatar csukuangfj commented on May 26, 2024

manylinux is not used for k2, since k2 depends on PyTorch, but PyTorch does not provide a wheel for manylinux after
version 1.5.0 or 1.3.0, I cannot remember the exact version.

from lilcom.

csukuangfj avatar csukuangfj commented on May 26, 2024

BTW: PyPI supports manylinux. So if you can build a manylinux wheel, it can be uploaded to PyPI so that
others can use pip install lilcom to install it instead of compiling lilcom from source.

from lilcom.

csukuangfj avatar csukuangfj commented on May 26, 2024

I would like to help if you do not have time.

from lilcom.

danpovey avatar danpovey commented on May 26, 2024

from lilcom.

danpovey avatar danpovey commented on May 26, 2024

from lilcom.

csukuangfj avatar csukuangfj commented on May 26, 2024

Maybe we need to create a requirements.txt?

I tried it locally once again with a requirements.txt inside the project but it does not help. It has the same error.

from lilcom.

danpovey avatar danpovey commented on May 26, 2024

from lilcom.

danpovey avatar danpovey commented on May 26, 2024

from lilcom.

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.