Skip to content

installation error #26

@jdgride

Description

@jdgride

Having an issue installing this package using pip. The following is the entire output:

pip install guidedlda
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:\users\450226\documents\nlp\venv\lib\site-packages (from guidedlda) (1.16.2)
Building wheels for collected packages: guidedlda
Building wheel for guidedlda (setup.py) ... error
Complete output from command C:\Users\450226\Documents\NLP\venv\Scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\450226\AppData\Local\Temp\pip-install-egwznkv4\guidedlda\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(comp
ile(code, file, 'exec'))" bdist_wheel -d C:\Users\450226\AppData\Local\Temp\pip-wheel-8udw_oro --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\guidedlda
copying guidedlda\datasets.py -> build\lib.win32-3.7\guidedlda
copying guidedlda\guidedlda.py -> build\lib.win32-3.7\guidedlda
copying guidedlda\utils.py -> build\lib.win32-3.7\guidedlda
copying guidedlda_setup_hooks.py -> build\lib.win32-3.7\guidedlda
copying guidedlda_init_.py -> build\lib.win32-3.7\guidedlda
creating build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_datasets.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda_reuters.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda_sparse.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda_transform.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_utils.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests_init_.py -> build\lib.win32-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.win32-3.7\guidedlda
copying guidedlda_guidedlda.pyx -> build\lib.win32-3.7\guidedlda
copying guidedlda\gamma.c -> build\lib.win32-3.7\guidedlda
copying guidedlda\gamma.h -> build\lib.win32-3.7\guidedlda
copying guidedlda\tests\nyt.ldac -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\nyt.titles -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\nyt.tokens -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\reuters.ldac -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\reuters.titles -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\reuters.tokens -> build\lib.win32-3.7\guidedlda\tests
running build_ext
building 'guidedlda._guidedlda' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\guidedlda
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\450226\Documents\NLP\venv\include -IC:\Users\450226\AppData\Local\Programs\Python\Python37-32\include -IC:\Users\450226\AppData\Local\Programs\Python\Pyt
hon37-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files
(x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tcguidedlda/_guidedlda.c /Fobuild\temp.win32-3.7\Re
lease\guidedlda/_guidedlda.obj
_guidedlda.c
guidedlda/_guidedlda.c(18745): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18746): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18747): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18754): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18755): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18756): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18757): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18758): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18759): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18814): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18815): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18816): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18817): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18818): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18819): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18841): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18842): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18843): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18844): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18845): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18846): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe' failed with exit status 2


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
Complete output from command C:\Users\450226\Documents\NLP\venv\Scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\450226\AppData\Local\Temp\pip-install-egwznkv4\guidedlda\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(co
mpile(code, file, 'exec'))" install --record C:\Users\450226\AppData\Local\Temp\pip-record-7ic5u5or\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\450226\Documents\NLP\venv\include\site\python3.7\guidedlda:
running install
[pbr] Generating AUTHORS
[pbr] AUTHORS complete (0.0s)
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\guidedlda
creating build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_datasets.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda_reuters.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda_sparse.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_lda_transform.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\test_utils.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests_init_.py -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\datasets.py -> build\lib.win32-3.7\guidedlda
copying guidedlda\guidedlda.py -> build\lib.win32-3.7\guidedlda
copying guidedlda\utils.py -> build\lib.win32-3.7\guidedlda
copying guidedlda_setup_hooks.py -> build\lib.win32-3.7\guidedlda
copying guidedlda_init_.py -> build\lib.win32-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.win32-3.7\guidedlda\tests
copying guidedlda\tests\nyt.titles -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\nyt.tokens -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\reuters.ldac -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\reuters.titles -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda\tests\reuters.tokens -> build\lib.win32-3.7\guidedlda\tests
copying guidedlda_guidedlda.c -> build\lib.win32-3.7\guidedlda
copying guidedlda_guidedlda.pyx -> build\lib.win32-3.7\guidedlda
copying guidedlda\gamma.c -> build\lib.win32-3.7\guidedlda
copying guidedlda\gamma.h -> build\lib.win32-3.7\guidedlda
running build_ext
building 'guidedlda._guidedlda' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\guidedlda
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\450226\Documents\NLP\venv\include -IC:\Users\450226\AppData\Local\Programs\Python\Python37-32\include -IC:\Users\450226\AppData\Local\Programs\Python\P
ython37-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program File
s (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tcguidedlda/_guidedlda.c /Fobuild\temp.win32-3.7
Release\guidedlda/_guidedlda.obj
_guidedlda.c
guidedlda/_guidedlda.c(18745): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18746): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18747): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18754): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18755): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18756): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18757): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18758): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18759): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18814): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18815): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18816): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18817): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18818): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18819): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18841): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18842): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18843): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18844): error C2039: 'exc_type': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18845): error C2039: 'exc_value': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
guidedlda/_guidedlda.c(18846): error C2039: 'exc_traceback': is not a member of '_ts'
c:\users\450226\appdata\local\programs\python\python37-32\include\pystate.h(212): note: see declaration of '_ts'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe' failed with exit status 2

----------------------------------------

Command "C:\Users\450226\Documents\NLP\venv\Scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\450226\AppData\Local\Temp\pip-install-egwznkv4\guidedlda\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'e
xec'))" install --record C:\Users\450226\AppData\Local\Temp\pip-record-7ic5u5or\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\450226\Documents\NLP\venv\include\site\python3.7\guidedlda" failed with error code 1 in C:\Users\450226\AppData\Local\Temp\pip-install-egwznk
v4\guidedlda\

Also, when I try the following:
https://github.com/vi3k6i5/GuidedLDA
cd GuidedLDA
sh build_dist.sh
python setup.py sdist
pip install -e .

I get the error:
'https:' is not recognized as an internal or external command,
operable program or batch file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions