GuidedLDA
GuidedLDA copied to clipboard
Error when installing the GuidedLDA package
Hi there, first very thankful for this useful package. But I met a problem of installing. It says, "ERROR: Command errored out with exit status 1". I'm using Python 3.7.6 on macosx-10.15.4. I also tried the alternative manual installation. But still failed with the following information: "error: error in setup.cfg: command 'sdist' has no such option 'pre_hook.sdist_pre_hook'"
I'm not sure what the problem is. Could you please give me a hand? Thanks...
You could try installing this package in python 3.6 virtual environment. Seems that cython library that this package is using does not work well in python 3.7.
Thanks very much. I'm doing that. But still hopes it will be compatible with newer python...
@bqwu Did you check this error issue thread out? - https://github.com/vi3k6i5/GuidedLDA/issues/43
the same problem. Did you solve it?
Hi, same problem here. It's not working with python 3.10
收到
Same problem
收到
The solution provided by @dex314 works well (thanks guy you saved me a lot of time)
For the other who need helps with python3.10 with guidedlda
here is everything : https://github.com/dex314/GuidedLDA_WorkAround/blob/master/READ_ME_GUIDEDLDA.txt
here is the solution:
1. Pull down the repository.
2. Install the original LDA package.
https://pypi.org/project/lda/
3. Drop the *.py files from the GuidedLDA_WorkAround repo in the lda folder under site-packages for your specific enviroment.
Just copy the guided lda files of the workaround in the files of the normal installation folder then use cython and launch the install.
Pierre
收到