vi3k6i5 / GuidedLDA

semi supervised guided topic model with custom guidedLDA
Mozilla Public License 2.0
497 stars 108 forks source link

Can't install on macOS python3.7 #36

Open pazlvbanke opened 5 years ago

pazlvbanke commented 5 years ago

Hi! Still have problems with installation. Issue #30 and #24 didn't work for me

find guidedlda -name "*.pyx" -exec cython {} \;

Ok to continue (y/n)? y Building distribution running clean removing 'build/temp.macosx-10.7-x86_64-3.7' (and everything under it) running build_ext building 'guidedlda._guidedlda' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/guidedlda gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/alinacodzy/anaconda3/include -arch x86_64 -I/Users/alinacodzy/anaconda3/include -arch x86_64 -I/Users/alinacodzy/anaconda3/include/python3.7m -c guidedlda/_guidedlda.c -o build/temp.macosx-10.7-x86_64-3.7/guidedlda/_guidedlda.o guidedlda/_guidedlda.c:2171:13: warning: code will never be executed [-Wunreachable-code] __pyx_r = 0; ^ 1 warning generated. gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/alinacodzy/anaconda3/include -arch x86_64 -I/Users/alinacodzy/anaconda3/include -arch x86_64 -I/Users/alinacodzy/anaconda3/include/python3.7m -c guidedlda/gamma.c -o build/temp.macosx-10.7-x86_64-3.7/guidedlda/gamma.o gcc -bundle -undefined dynamic_lookup -L/Users/alinacodzy/anaconda3/lib -arch x86_64 -L/Users/alinacodzy/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/guidedlda/_guidedlda.o build/temp.macosx-10.7-x86_64-3.7/guidedlda/gamma.o -o build/lib.macosx-10.7-x86_64-3.7/guidedlda/_guidedlda.cpython-37m-darwin.so copying build/lib.macosx-10.7-x86_64-3.7/guidedlda/_guidedlda.cpython-37m-darwin.so -> guidedlda running sdist error: error in setup.cfg: command 'sdist' has no such option 'pre_hook.sdist_pre_hook'

Python 3.7.1 Cython 0.29.2

andrewm-bose commented 5 years ago

Hi, I have the same issue. 'error: error in setup.cfg: command 'sdist' has no such option 'pre_hook.sdist_pre_hook'