Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip3 install --user treelite not working #60

Closed
aishgrt1 opened this issue Nov 1, 2018 · 11 comments
Closed

pip3 install --user treelite not working #60

aishgrt1 opened this issue Nov 1, 2018 · 11 comments

Comments

@aishgrt1
Copy link

aishgrt1 commented Nov 1, 2018

No description provided.

@hcho3
Copy link
Collaborator

hcho3 commented Nov 1, 2018

Can you post an error message?

@aishgrt1
Copy link
Author

aishgrt1 commented Nov 1, 2018

It says :

Could not find a version that satisfies the requirement treelite. No matching distribution found for treelite.

@hcho3
Copy link
Collaborator

hcho3 commented Nov 1, 2018

Which Python version are you using?

@aishgrt1
Copy link
Author

aishgrt1 commented Nov 1, 2018

Python 3.6

@hcho3
Copy link
Collaborator

hcho3 commented Nov 1, 2018

https://pypi.org/project/treelite has wheels for Python 3.6. Are you using an OS that's not Windows, Mac OSX, or Linux?

@hcho3
Copy link
Collaborator

hcho3 commented Nov 1, 2018

From the documentation:

This method is available for only Windows, Mac OS X, and Linux. For other operating systems, see the next section.

@aishgrt1
Copy link
Author

aishgrt1 commented Nov 6, 2018

I don't understand what to do for other systems

@aishgrt1
Copy link
Author

aishgrt1 commented Nov 7, 2018

@hcho3 Hey can you help me install it for other operating systems ?

@hcho3
Copy link
Collaborator

hcho3 commented Nov 7, 2018

You should compile from source. The documentation has steps for compiling.

@aishgrt1
Copy link
Author

aishgrt1 commented Nov 8, 2018

I did compile and the libtreelite.so is stored under treelite/lib/libtreelite.so
What do we do next? import treelite still doesn't work

@hcho3
Copy link
Collaborator

hcho3 commented Nov 13, 2018

You should set PYTHONPATH when running Python session.

@hcho3 hcho3 closed this as completed Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants