Giter Club home page Giter Club logo

Comments (4)

sridivyar avatar sridivyar commented on June 8, 2024 1

!pip install octis --no-dependencies
!pip install gensim==4.2.0
!pip install nltk
!pip install pandas
!pip install spacy

This fixed my issues. I have installed octis without dependencies and later imported the required ones. Don't know if its an ideal solution but hope it fixes your issue.

from octis.

shaistaDev7 avatar shaistaDev7 commented on June 8, 2024

This issue occur due to scikit-learn==0.24.2 version.
In my case, I installed scikit-learn==0.24.2 version first with these commands:
!git clone --branch 0.24.2 https://github.com/scikit-learn/scikit-learn.git
%cd scikit-learn
!python setup.py install
After installing scikit-learn, install octis library with (!pip install octis)
Note:I run all theses command on Colab with by default python version 3.10

from octis.

xqz-u avatar xqz-u commented on June 8, 2024

This issue occur due to scikit-learn==0.24.2 version. In my case, I installed scikit-learn==0.24.2 version first with these commands: !git clone --branch 0.24.2 https://github.com/scikit-learn/scikit-learn.git %cd scikit-learn !python setup.py install After installing scikit-learn, install octis library with (!pip install octis) Note:I run all theses command on Colab with by default python version 3.10

I am also encountering the same problem, and I am not able to solve it like this.

from octis.

silviatti avatar silviatti commented on June 8, 2024

Hi, not sure why this is happening. I have no problems on my laptop and I'm using python 3.10. Also I didn't have any issue on the GitHub server for python 3.10. However, it does seem all versions of scikit-learn prior to 1.1.0 do not support python 3.10 (https://github.com/scikit-learn/scikit-learn/releases/tag/1.0).

I'll push a new OCTIS release that uses scikit-learn v1.1.0. Hope it will solve this issue. Colab doesn't seem to complain with this version.

from octis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.