-
Notifications
You must be signed in to change notification settings - Fork 110
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
GuidedLDA won't install #43
Comments
It might have issues with os compatibility because it successfully got installed on Ubuntu for python 3.6 |
Not able to install with python 3.7 on Mac:
|
have you with python 3.6? |
I attempted to do this with Python 3.6 and Ubuntu and I ran into the same error as @rbaral . I cant post the error due to sensitive info but it failed at building the extension with the same "did you mean" items for the values. |
@gaganmanku96 I am using Python 3.7, which I assume satisfies the mentioned requirements in https://guidedlda.readthedocs.io/en/latest/#requirements. The problem is neither I can install with pip nor with the build script provided in git repo. |
@rbaral @gaganmanku96 I decided to try something. The package that this is built of off is LDA and it installed with no issue. I managed to copy from the GuidedLDA package: the guidedlda.py, utils.py, datasets.py and the few NYT data set items into the original LDA package, post installation. |
Is there a less manual solution? I'm encountering the same error that OP posted and have checked that required Visual Studio components are installed. |
@dex314 how did you manage to do so ? |
@edyvedy Hopefully this doesnt cause an issue with anyone (especially the original authors), but here is a zip with instructions on how to put all this where it needs to go - https://github.com/dex314/GuidedLDA_WorkAround |
@dex314 The solution works great. Thank you very much!! |
thanks @dex314 Your solution saved my days ^^ |
@dex314 you da man! |
@dex314 What changes did you make?? Just curious. I also want to say thank you for saving me so much time. |
@ajyl No problem! One of the interesting things about Python is you can kind of drop code in place after a package install and since it doesnt really interfere with other internals (like an exe), your environment can "see" the changes. There are only a few mathematical changes between this and the original LDA and I took a chance that all we would need to do is add these changes as a separate "class" and it should pick up all the other attributes with no issue. Obviously, I got lucky and this is just a work around and it could totally fall apart with a bigger update to the LDA package. I should have kept better notes about the original LDA version incase something like that happens. Glad its working out for everyone who stumbles on this though! |
Hi,
first off, thank you so much for GuidedLDA. I believe it is great and would really love to use it for my master thesis. However, I am having trouble installing it. I tried both
pip install guidedlda
and the following as mentioned in the documentation:Anaconda command prompt throws the following issue when I try to execute the above:
I really hope you can help, I am analyzing a large body of text and my unsupervised LDA topics are really sucky
Thank you so much in advance!
I am running Win10 and Python and Anaconda 3.
The text was updated successfully, but these errors were encountered: