'No module named 'gsdmm'-topic modelling

I have problems to work with GSDMM model of topic modelling dedicated for short text. I followed this link to install it: https://towardsdatascience.com/gsdmm-topic-modeling-for-social-media-posts-and-reviews-8726489dc52f. but it didn't work. I also installed the model using the following command: pip install GPyM-TM (https://pypi.org/project/GPyM-TM/) but nothing works. I got the following error: ModuleNotFoundError: No module named 'gsdmm' any help? thank you



Solution 1:[1]

python3 setup.py install --user

without the "--user", I have a message that says that I do not have write access to this directory and when I add the "--user", the package was installed and it works

Solution 2:[2]

I had the same issue, this article about GSDMM helped me to resolve the issue. need to install GSDMM using pip install git+https://github.com/rwalk/gsdmm.git

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 hajar hajar
Solution 2 Devindi Jayathilaka