vi3k6i5 / GuidedLDA

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

GuidedLDA won't install #43

Open ylimenibor opened 4 years ago

ylimenibor commented 4 years ago

Hi,

first off, thank you so much for GuidedLDA. I believe it is great and would really love to use it for my master thesis. However, I am having trouble installing it. I tried both pip install guidedldaand the following as mentioned in the documentation:

https://github.com/vi3k6i5/GuidedLDA
cd GuidedLDA
sh build_dist.sh
python setup.py sdist
pip install -e .

Anaconda command prompt throws the following issue when I try to execute the above:

`Collecting guidedlda
  Using cached https://files.pythonhosted.org/packages/f8/ee/6d6e2b3525388399e12a4482554c7529a5fcf5e99c50a60abaa02894b8bf/guidedlda-2.0.0.dev22.tar.gz
Requirement already satisfied: numpy in c:\programdata\anaconda3\lib\site-packages (from guidedlda) (1.16.5)
Building wheels for collected packages: guidedlda
  Building wheel for guidedlda (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ekorm\\AppData\\Local\\Temp\\pip-install-pch_gkll\\guidedlda\\setup.py'"'"'; __file__='"'"'C:\\Users\\ekorm\\AppData\\Local\\Temp\\pip-install-pch_gkll\\guidedlda\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ekorm\AppData\Local\Temp\pip-wheel-4sr9_6o9' --python-tag cp37
       cwd: C:\Users\ekorm\AppData\Local\Temp\pip-install-pch_gkll\guidedlda\
  Complete output (92 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\datasets.py -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\utils.py -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\_setup_hooks.py -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\__init__.py -> build\lib.win-amd64-3.7\guidedlda
  creating build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\__init__.py -> build\lib.win-amd64-3.7\guidedlda\tests
  running egg_info
  writing guidedlda.egg-info\PKG-INFO
  writing dependency_links to guidedlda.egg-info\dependency_links.txt
  writing requirements to guidedlda.egg-info\requires.txt
  writing top-level names to guidedlda.egg-info\top_level.txt
  [pbr] Reusing existing SOURCES.txt
  copying guidedlda\_guidedlda.c -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\_guidedlda.pyx -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\gamma.c -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\gamma.h -> build\lib.win-amd64-3.7\guidedlda
  copying guidedlda\tests\nyt.ldac -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.7\guidedlda\tests
  copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.7\guidedlda\tests
  running build_ext
  building 'guidedlda._guidedlda' extension
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  creating build\temp.win-amd64-3.7\Release\guidedlda
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcguidedlda/_guidedlda.c /Fobuild\temp.win-amd64-3.7\Release\guidedlda/_guidedlda.obj
  _guidedlda.c
  guidedlda/_guidedlda.c(2277): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  guidedlda/_guidedlda.c(2286): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  guidedlda/_guidedlda.c(2295): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  guidedlda/_guidedlda.c(2667): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  guidedlda/_guidedlda.c(2676): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  guidedlda/_guidedlda.c(2685): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
  guidedlda/_guidedlda.c(18745): error C2039: 'exc_type': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18746): error C2039: 'exc_value': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18747): error C2039: 'exc_traceback': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18754): error C2039: 'exc_type': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18755): error C2039: 'exc_value': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18756): error C2039: 'exc_traceback': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18757): error C2039: 'exc_type': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18758): error C2039: 'exc_value': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18759): error C2039: 'exc_traceback': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18814): error C2039: 'exc_type': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18815): error C2039: 'exc_value': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18816): error C2039: 'exc_traceback': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18817): error C2039: 'exc_type': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18818): error C2039: 'exc_value': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18819): error C2039: 'exc_traceback': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18841): error C2039: 'exc_type': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18842): error C2039: 'exc_value': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18843): error C2039: 'exc_traceback': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18844): error C2039: 'exc_type': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18845): error C2039: 'exc_value': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  guidedlda/_guidedlda.c(18846): error C2039: 'exc_traceback': is not a member of '_ts'
  c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for guidedlda
  Running setup.py clean for guidedlda
Failed to build guidedlda
Installing collected packages: guidedlda
  Running setup.py install for guidedlda ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ekorm\\AppData\\Local\\Temp\\pip-install-pch_gkll\\guidedlda\\setup.py'"'"'; __file__='"'"'C:\\Users\\ekorm\\AppData\\Local\\Temp\\pip-install-pch_gkll\\guidedlda\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ekorm\AppData\Local\Temp\pip-record-6srcwdwy\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\ekorm\AppData\Local\Temp\pip-install-pch_gkll\guidedlda\
    Complete output (94 lines):
    running install
    [pbr] Generating AUTHORS
    [pbr] AUTHORS complete (0.0s)
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\guidedlda
    creating build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\__init__.py -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\datasets.py -> build\lib.win-amd64-3.7\guidedlda
    copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.7\guidedlda
    copying guidedlda\utils.py -> build\lib.win-amd64-3.7\guidedlda
    copying guidedlda\_setup_hooks.py -> build\lib.win-amd64-3.7\guidedlda
    copying guidedlda\__init__.py -> build\lib.win-amd64-3.7\guidedlda
    running egg_info
    writing guidedlda.egg-info\PKG-INFO
    writing dependency_links to guidedlda.egg-info\dependency_links.txt
    writing requirements to guidedlda.egg-info\requires.txt
    writing top-level names to guidedlda.egg-info\top_level.txt
    [pbr] Reusing existing SOURCES.txt
    copying guidedlda\tests\nyt.ldac -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.7\guidedlda\tests
    copying guidedlda\_guidedlda.c -> build\lib.win-amd64-3.7\guidedlda
    copying guidedlda\_guidedlda.pyx -> build\lib.win-amd64-3.7\guidedlda
    copying guidedlda\gamma.c -> build\lib.win-amd64-3.7\guidedlda
    copying guidedlda\gamma.h -> build\lib.win-amd64-3.7\guidedlda
    running build_ext
    building 'guidedlda._guidedlda' extension
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    creating build\temp.win-amd64-3.7\Release\guidedlda
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcguidedlda/_guidedlda.c /Fobuild\temp.win-amd64-3.7\Release\guidedlda/_guidedlda.obj
    _guidedlda.c
    guidedlda/_guidedlda.c(2277): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    guidedlda/_guidedlda.c(2286): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    guidedlda/_guidedlda.c(2295): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    guidedlda/_guidedlda.c(2667): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    guidedlda/_guidedlda.c(2676): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    guidedlda/_guidedlda.c(2685): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    guidedlda/_guidedlda.c(18745): error C2039: 'exc_type': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18746): error C2039: 'exc_value': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18747): error C2039: 'exc_traceback': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18754): error C2039: 'exc_type': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18755): error C2039: 'exc_value': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18756): error C2039: 'exc_traceback': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18757): error C2039: 'exc_type': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18758): error C2039: 'exc_value': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18759): error C2039: 'exc_traceback': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18814): error C2039: 'exc_type': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18815): error C2039: 'exc_value': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18816): error C2039: 'exc_traceback': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18817): error C2039: 'exc_type': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18818): error C2039: 'exc_value': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18819): error C2039: 'exc_traceback': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18841): error C2039: 'exc_type': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18842): error C2039: 'exc_value': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18843): error C2039: 'exc_traceback': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18844): error C2039: 'exc_type': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18845): error C2039: 'exc_value': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    guidedlda/_guidedlda.c(18846): error C2039: 'exc_traceback': is not a member of '_ts'
    c:\programdata\anaconda3\include\pystate.h(212): note: see declaration of '_ts'
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ekorm\\AppData\\Local\\Temp\\pip-install-pch_gkll\\guidedlda\\setup.py'"'"'; __file__='"'"'C:\\Users\\ekorm\\AppData\\Local\\Temp\\pip-install-pch_gkll\\guidedlda\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ekorm\AppData\Local\Temp\pip-record-6srcwdwy\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
`

I really hope you can help, I am analyzing a large body of text and my unsupervised LDA topics are really sucky

Thank you so much in advance! I am running Win10 and Python and Anaconda 3.

gaganmanku96 commented 4 years ago

It might have issues with os compatibility because it successfully got installed on Ubuntu for python 3.6

rbaral commented 4 years ago

Not able to install with python 3.7 on Mac:

pip3 install guidedlda

Collecting guidedlda
  Using cached https://files.pythonhosted.org/packages/f8/ee/6d6e2b3525388399e12a4482554c7529a5fcf5e99c50a60abaa02894b8bf/guidedlda-2.0.0.dev22.tar.gz
Collecting numpy
  Using cached https://files.pythonhosted.org/packages/f0/14/f71a89e03578084111e352f464d9f3b7f701ebbecbd1a60e89c96983ef77/numpy-1.18.0-cp37-cp37m-macosx_10_9_x86_64.whl
Building wheels for collected packages: guidedlda
  Building wheel for guidedlda (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/setup.py'"'"'; __file__='"'"'/private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-wheel-zmrii4vx --python-tag cp37
       cwd: /private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/
  Complete output (152 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.14-x86_64-3.7
  creating build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/_setup_hooks.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/datasets.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/guidedlda.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/utils.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  creating build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/test_utils.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/test_datasets.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/test_lda.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/test_lda_reuters.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/test_guidedlda_nyt.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/test_lda_transform.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/test_lda_sparse.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  running egg_info
  writing guidedlda.egg-info/PKG-INFO
  writing dependency_links to guidedlda.egg-info/dependency_links.txt
  writing requirements to guidedlda.egg-info/requires.txt
  writing top-level names to guidedlda.egg-info/top_level.txt
  [pbr] Reusing existing SOURCES.txt
  copying guidedlda/_guidedlda.c -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/_guidedlda.pyx -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/gamma.c -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/gamma.h -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
  copying guidedlda/tests/nyt.ldac -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/nyt.titles -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/nyt.tokens -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/reuters.ldac -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/reuters.titles -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  copying guidedlda/tests/reuters.tokens -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
  running build_ext
  building 'guidedlda._guidedlda' extension
  creating build/temp.macosx-10.14-x86_64-3.7
  creating build/temp.macosx-10.14-x86_64-3.7/guidedlda
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c guidedlda/_guidedlda.c -o build/temp.macosx-10.14-x86_64-3.7/guidedlda/_guidedlda.o
  guidedlda/_guidedlda.c:1944:13: warning: code will never be executed [-Wunreachable-code]
    __pyx_r = 0;
              ^
  guidedlda/_guidedlda.c:18745:21: error: no member named 'exc_type' in 'struct _ts'
      *type = tstate->exc_type;
              ~~~~~~  ^
  guidedlda/_guidedlda.c:18746:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      *value = tstate->exc_value;
                       ^~~~~~~~~
                       curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  guidedlda/_guidedlda.c:18747:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      *tb = tstate->exc_traceback;
                    ^~~~~~~~~~~~~
                    curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  guidedlda/_guidedlda.c:18754:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  guidedlda/_guidedlda.c:18755:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  guidedlda/_guidedlda.c:18756:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  guidedlda/_guidedlda.c:18757:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = type;
      ~~~~~~  ^
  guidedlda/_guidedlda.c:18758:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = value;
              ^~~~~~~~~
              curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  guidedlda/_guidedlda.c:18759:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  guidedlda/_guidedlda.c:18814:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  guidedlda/_guidedlda.c:18815:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  guidedlda/_guidedlda.c:18816:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  guidedlda/_guidedlda.c:18817:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = local_type;
      ~~~~~~  ^
  guidedlda/_guidedlda.c:18818:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = local_value;
              ^~~~~~~~~
              curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  guidedlda/_guidedlda.c:18819:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = local_tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  guidedlda/_guidedlda.c:18841:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  guidedlda/_guidedlda.c:18842:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  guidedlda/_guidedlda.c:18843:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  guidedlda/_guidedlda.c:18844:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = *type;
      ~~~~~~  ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  1 warning and 20 errors generated.
  error: command 'clang' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for guidedlda
  Running setup.py clean for guidedlda
Failed to build guidedlda
Installing collected packages: numpy, guidedlda
    Running setup.py install for guidedlda ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/setup.py'"'"'; __file__='"'"'/private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-record-e9db8tiy/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/
    Complete output (154 lines):
    running install
    [pbr] Generating AUTHORS
    [pbr] AUTHORS complete (0.0s)
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.14-x86_64-3.7
    creating build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/_setup_hooks.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/datasets.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/guidedlda.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/utils.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    creating build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/test_utils.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/test_datasets.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/test_lda.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/test_lda_reuters.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/test_guidedlda_nyt.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/test_lda_transform.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/test_lda_sparse.py -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    running egg_info
    writing guidedlda.egg-info/PKG-INFO
    writing dependency_links to guidedlda.egg-info/dependency_links.txt
    writing requirements to guidedlda.egg-info/requires.txt
    writing top-level names to guidedlda.egg-info/top_level.txt
    [pbr] Reusing existing SOURCES.txt
    copying guidedlda/_guidedlda.c -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/_guidedlda.pyx -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/gamma.c -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/gamma.h -> build/lib.macosx-10.14-x86_64-3.7/guidedlda
    copying guidedlda/tests/nyt.ldac -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/nyt.titles -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/nyt.tokens -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/reuters.ldac -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/reuters.titles -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    copying guidedlda/tests/reuters.tokens -> build/lib.macosx-10.14-x86_64-3.7/guidedlda/tests
    running build_ext
    building 'guidedlda._guidedlda' extension
    creating build/temp.macosx-10.14-x86_64-3.7
    creating build/temp.macosx-10.14-x86_64-3.7/guidedlda
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c guidedlda/_guidedlda.c -o build/temp.macosx-10.14-x86_64-3.7/guidedlda/_guidedlda.o
    guidedlda/_guidedlda.c:1944:13: warning: code will never be executed [-Wunreachable-code]
      __pyx_r = 0;
                ^
    guidedlda/_guidedlda.c:18745:21: error: no member named 'exc_type' in 'struct _ts'
        *type = tstate->exc_type;
                ~~~~~~  ^
    guidedlda/_guidedlda.c:18746:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        *value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    guidedlda/_guidedlda.c:18747:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        *tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    guidedlda/_guidedlda.c:18754:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    guidedlda/_guidedlda.c:18755:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    guidedlda/_guidedlda.c:18756:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    guidedlda/_guidedlda.c:18757:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = type;
        ~~~~~~  ^
    guidedlda/_guidedlda.c:18758:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = value;
                ^~~~~~~~~
                curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    guidedlda/_guidedlda.c:18759:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    guidedlda/_guidedlda.c:18814:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    guidedlda/_guidedlda.c:18815:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    guidedlda/_guidedlda.c:18816:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    guidedlda/_guidedlda.c:18817:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = local_type;
        ~~~~~~  ^
    guidedlda/_guidedlda.c:18818:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = local_value;
                ^~~~~~~~~
                curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    guidedlda/_guidedlda.c:18819:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = local_tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    guidedlda/_guidedlda.c:18841:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    guidedlda/_guidedlda.c:18842:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    guidedlda/_guidedlda.c:18843:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    guidedlda/_guidedlda.c:18844:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = *type;
        ~~~~~~  ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    1 warning and 20 errors generated.
    error: command 'clang' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/setup.py'"'"'; __file__='"'"'/private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-install-18qprphn/guidedlda/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cp/fccr2v8s30d6bqq4w3h7_g0h0000gn/T/pip-record-e9db8tiy/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
gaganmanku96 commented 4 years ago

have you with python 3.6?

dex314 commented 4 years ago

I attempted to do this with Python 3.6 and Ubuntu and I ran into the same error as @rbaral . I cant post the error due to sensitive info but it failed at building the extension with the same "did you mean" items for the values.

rbaral commented 4 years ago

@gaganmanku96 I am using Python 3.7, which I assume satisfies the mentioned requirements in https://guidedlda.readthedocs.io/en/latest/#requirements. The problem is neither I can install with pip nor with the build script provided in git repo.

dex314 commented 4 years ago

@rbaral @gaganmanku96 I decided to try something. The package that this is built of off is LDA and it installed with no issue. I managed to copy from the GuidedLDA package: the guidedlda.py, utils.py, datasets.py and the few NYT data set items into the original LDA package, post installation. After renaming a few items so that the guided portion only pulls from the guided items, the test sets on the home page here work exactly as expected. I did some other tests that were also successful so maybe a solution is to write them so they inherit from the original LDA package.

fishdontfly commented 4 years ago

Is there a less manual solution? I'm encountering the same error that OP posted and have checked that required Visual Studio components are installed.

edyvedy commented 4 years ago

@dex314 how did you manage to do so ?

dex314 commented 4 years ago

@edyvedy Hopefully this doesnt cause an issue with anyone (especially the original authors), but here is a zip with instructions on how to put all this where it needs to go - https://github.com/dex314/GuidedLDA_WorkAround

edyvedy commented 4 years ago

@dex314 The solution works great. Thank you very much!!

duongkstn commented 4 years ago

thanks @dex314 Your solution saved my days ^^

JContro commented 4 years ago

@dex314 you da man!

ajyl commented 3 years ago

@dex314 What changes did you make?? Just curious. I also want to say thank you for saving me so much time.

dex314 commented 3 years ago

@ajyl No problem! One of the interesting things about Python is you can kind of drop code in place after a package install and since it doesnt really interfere with other internals (like an exe), your environment can "see" the changes. There are only a few mathematical changes between this and the original LDA and I took a chance that all we would need to do is add these changes as a separate "class" and it should pick up all the other attributes with no issue. Obviously, I got lucky and this is just a work around and it could totally fall apart with a bigger update to the LDA package. I should have kept better notes about the original LDA version incase something like that happens. Glad its working out for everyone who stumbles on this though!