Skip to content

Request for Environment Details: Python Version and Library Dependencies #1

@nielsr2

Description

@nielsr2

Hi!

I'm trying to run the notebooks, but I get an error in during the TextHero library import in 'sentiment_arcs_part1_preprocessing.ipynb'.

From what I can understand, it appears to be due to incompatibilities between TextHero (which depends on Gensim) and the Python version used (Google Colab defaults to 3.10.13).

The specific error that initially occurs is a ModuleNotFoundError for TextHero. When I attempt to resolve this by running !pip install texthero, it fails due to Gensim's incompatibility with this Python version.

After some quick research, I tried downgrading to Python 3.8.1, and specifying some older versions of the libraries (gensim==3.6.0, texthero==1.1.0) - I was endowed with slight progress, but get a new set of errors - which appears to relate to the incompatibilities mentioned.

To accurately reproduce the environment and run the notebooks successfully, could you please provide the specific versions of Python and the libraries (especially TextHero and Gensim) used in your project? (like a requirements.txt, environment.yml, or something similar)

Looking forward to get it up and running, so your help would be much appreciated :)

/Niels

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions