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

Missing prediction algorithms when installing through pip #5

Closed
mahermalaeb opened this issue Dec 18, 2016 · 2 comments
Closed

Missing prediction algorithms when installing through pip #5

mahermalaeb opened this issue Dec 18, 2016 · 2 comments

Comments

@mahermalaeb
Copy link
Contributor

Hello,

I have installed this library using pip on my Ubuntu machine 2 days ago. However I am not able to import the SlopeOne and CoClustering algorithms. I have checked the files inside the library and noticed that the corresponding python files are actually missing.

image

I am not an expert in python or pip, but I thought I should highlight this issue. Please let me know if I am missing something.

Thanks for all the hardwork put in this library.

Cheers,
Maher

@NicolasHug
Copy link
Owner

Hi Maher,

Actually these algorithms are only available on the latest version which I haven't published to PyPI (the official python package index), so they're not yet available using pip install surprise.

To use them you'll need to clone the github repo:

$ git clone git@github.com:NicolasHug/Surprise.git

and install the package:

$ cd surprise
$ python setup.py install

or if you want to use pip:

$ cd surprise
$ pip install .

By default the documentation is for the latest version but you can also see the one for version 1.0.0, which is the version on PyPI.

I'm sorry about all this, it's not clear at all from the README or the project main page that these two algorithms are only available for the latest version. I'll try make it clearer as soon as I can!

Thanks for the feedback! Cheers,
Nicolas

@NicolasHug
Copy link
Owner

Update: I changed the README and the main page to indicate that these algorithms are only available on latest version.

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