Savvysherpa / slda

Cython implementations of Gibbs sampling for supervised LDA
MIT License
61 stars 11 forks source link

Installation Error #2

Closed xiaoleihuang closed 6 years ago

xiaoleihuang commented 7 years ago

I used python3 with sudo pip install . But with following error:

Complete output from command python setup.py egg_info: /bin/sh: 1: gsl-config: not found Traceback (most recent call last): File "", line 1, in File "/tmp/pip-tmx65jji-build/setup.py", line 19, in library_dirs=[cython_gsl.get_library_dir()], File "/usr/local/lib/python3.5/dist-packages/cython_gsl/init.py", line 45, in get_library_dir lib_gsl_dir = os.popen('gsl-config --libs').read().split()[0][2:] IndexError: list index out of range

burbma commented 7 years ago

Have you tried installing it using conda-forge? See here.

cvipul commented 7 years ago

Conda forge has a dependency error :

UnsatisfiableError: The following specifications were found to be in conflict:

burbma commented 6 years ago

Sorry for the delay. I believe it is fixed. Re-open if you still have problems.

bikramkhastgir commented 5 years ago

I am still getting the same error, when trying to install it without using conda. Is there any solution to fixing it? Environment: Python: 2.7 Method of installing: pip install slda


Error: Complete output from command python setup.py egg_info: /bin/sh: 1: gsl-config: not found Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-vad3l5eo/slda/setup.py", line 10, in library_dirs=[cython_gsl.get_library_dir()], File "/home/user/Env/KG/lib/python3.5/site-packages/cython_gsl/init.py", line 45, in get_library_dir lib_gsl_dir = os.popen('gsl-config --libs').read().split()[0][2:] IndexError: list index out of range