pythonpipconda

Failed to build Submodlib while installing


While installing SubModLib from the official repository (https://github.com/albertotamajo/submodlib/tree/master), I am unable to complete the installation as directed by the readme. Both the alternatives (as mentioned below) do not work.

Alternative 1:

$ pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ submodlib

Alternative 2:

$ git clone https://github.com/decile-team/submodlib.git
$ cd submodlib
$ pip install .

Even after installing all the mentioned dependencies, I am unable to wheel the particular module. In fact, I also checked for a conda version of the installation, but it does not exist.

What to do now?


Solution

  • After trying a lot of different tactics with the original module, I found this forked module (https://github.com/albertotamajo/submodlib/tree/master) that worked for me.

    Use the following installation steps.

    $ git clone https://github.com/decile-team/submodlib.git
    $ cd submodlib
    $ pip install .
    

    It worked for me.