Skip to content
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

Error when installing the GuidedLDA package #50

Open
bqwu opened this issue May 8, 2020 · 10 comments
Open

Error when installing the GuidedLDA package #50

bqwu opened this issue May 8, 2020 · 10 comments

Comments

@bqwu
Copy link

bqwu commented May 8, 2020

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

@bohyunshin
Copy link

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.

@bqwu
Copy link
Author

bqwu commented May 22, 2020

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

@dex314
Copy link

dex314 commented Oct 9, 2020

@bqwu Did you check this error issue thread out? - #43

@cherry-du
Copy link

the same problem. Did you solve it?

@bernomone
Copy link

bernomone commented Aug 18, 2022

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

@cherry-du
Copy link

cherry-du commented Aug 18, 2022 via email

@OrElias-RecoLabs
Copy link

Same problem

@cherry-du
Copy link

cherry-du commented Nov 8, 2022 via email

@pierrefay
Copy link

pierrefay commented Nov 30, 2022

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

@cherry-du
Copy link

cherry-du commented Nov 30, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants