nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.
BSD 3-Clause "New" or "Revised" License
1.28k stars 170 forks source link

Problems installing #17

Closed FakeNameSE closed 7 years ago

FakeNameSE commented 7 years ago

I am unable to install sklearn-porter for python3 through pip.

Collecting sklearn-porter
  Using cached sklearn-porter-0.5.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-bdmsnkqx/sklearn-porter/setup.py", line 18, in <module>
        with open(requirements_path) as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-bdmsnkqx/sklearn-porter/requirements.txt'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-bdmsnkqx/sklearn-porter/

I am running python 3.6 on Arch Linux.

nok commented 7 years ago

Thanks @FakeNameSE, I will test and fix that issue.

nok commented 7 years ago

Hello @FakeNameSE,

okay, it should be fixed (https://github.com/nok/sklearn-porter/commit/2935828735fb1a8141c32f5f772172c12877c42d). You can upgrade the package with:

pip install --upgrade --force-reinstall

Thanks again for the hint!

Happy coding, Darius

FakeNameSE commented 7 years ago

Thanks, it works!