Skip to content

Commit

Permalink
Merge pull request #59 from microsoft/mainterl/pypi
Browse files Browse the repository at this point in the history
Install from pypi
  • Loading branch information
ksaur authored May 7, 2020
2 parents 2cf2a57 + 77bf73a commit 38816e3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ Currently, you can use *Hummingbird* to convert your trained traditional ML mode

## Installation

Hummingbird was tested on Python 3.6. and 3.7 on Linux, Windows and MacOS machines. It is recommended to use a virtual environment (See: [python3 venv doc](https://docs.python.org/3/tutorial/venv.html) or [Using Python environments in VS Code](https://code.visualstudio.com/docs/python/environments).)
Hummingbird was tested on Python >= 3.6 on Linux, Windows and MacOS machines. It is recommended to use a virtual environment (See: [python3 venv doc](https://docs.python.org/3/tutorial/venv.html) or [Using Python environments in VS Code](https://code.visualstudio.com/docs/python/environments).)
```
mkdir hummingbird
cd hummingbird
git clone https://github.com/microsoft/hummingbird.git .
python setup.py install
pip install hummingbird-ml
```


Expand Down
11 changes: 7 additions & 4 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@


### Install:
* During `pip install`, xgboost error: (Ex: `./xgboost/build-python.sh: line 21: cmake: command not found`)
* install cmake (Ex: `brew install cmake` or `apt install cmake`)
* During `pip install`, xgboost error: (Ex: `./xgboost/build-python.sh: line 21: cmake: command not found`).
* Install `cmake` (Ex: `brew install cmake` or `apt install cmake`).


* During `pip install`, an error with lightgbm: (Ex: `OSError: dlopen(lib_lightgbm.so, 6): Library not loaded: ...libomp.dylib`)
* There is a fixed issue with lgbm and MacOS. See [LightGBM#1369](https://github.com/Microsoft/LightGBM/issues/1369)
* During `pip install`, an error with lightgbm: (Ex: `OSError: dlopen(lib_lightgbm.so, 6): Library not loaded: ...libomp.dylib`).
* There is a fixed issue with lgbm and MacOS. See [LightGBM#1369](https://github.com/Microsoft/LightGBM/issues/1369).

* During `pip install` on Windows, an error with PyTorch (Ex: ` ERROR: Could not find a version that satisfies the requirement torch>=1.4.0`).
* Install PyTorch manually by following the instructions on PyTorch [website](https://pytorch.org/).
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
long_description = long_description[start_pos:]

setup(
name="hummingbird",
name="hummingbird-ml",
version=version_str,
description="Convert trained traditional machine learning models into tensor computations",
license="MIT License",
Expand All @@ -36,10 +36,10 @@
include_package_data=True,
install_requires=requirements,
classifiers=[
"Development Status :: 1 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
python_requires='>=3.6',
Expand Down

0 comments on commit 38816e3

Please sign in to comment.