GuidedLDA icon indicating copy to clipboard operation
GuidedLDA copied to clipboard

Error when installing the GuidedLDA package

Open bqwu opened this issue 4 years ago • 10 comments

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...

bqwu avatar May 08 '20 12:05 bqwu

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.

bohyunshin avatar May 19 '20 13:05 bohyunshin

Thanks very much. I'm doing that. But still hopes it will be compatible with newer python...

bqwu avatar May 22 '20 11:05 bqwu

@bqwu Did you check this error issue thread out? - https://github.com/vi3k6i5/GuidedLDA/issues/43

dex314 avatar Oct 09 '20 12:10 dex314

the same problem. Did you solve it?

cherry-du avatar Apr 18 '22 08:04 cherry-du

Hi, same problem here. It's not working with python 3.10

bernomone avatar Aug 18 '22 10:08 bernomone

收到

cherry-du avatar Aug 18 '22 10:08 cherry-du

Same problem

OrElias-RecoLabs avatar Nov 08 '22 17:11 OrElias-RecoLabs

收到

cherry-du avatar Nov 08 '22 17:11 cherry-du

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

pierrefay avatar Nov 30 '22 11:11 pierrefay

收到

cherry-du avatar Nov 30 '22 11:11 cherry-du