Open tmcdiscord opened 5 years ago
It seems you simply need to install Microsoft Visual C++ 14.0
@ArmaanBhullar I tried, didn't work.
Hi, for me it also doesn't work. And the manual installation process doesn't work for a different reason. The errors are in the log.txt. I tried pip and pip3 Maybe you can help me I'm using pip 18.0, python 3.7 and jupyter-notebook 5.5.0.
bash-3.2$ pip3 install guidedlda
Failed building wheel for guidedlda Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/b7/fjr_47_n3sgfv66r1mnhy9bscxt718/T/pip-install-ndw0j26e/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/b7/fjr_47_n3sgfv66r1mnhy9bscxt718/T/pip-record-5vq1fizl/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/b7/fjr_47_n3sgfv66r1mnhy9bscxt718/T/pip-install-ndw0j26e/guidedlda/
Hi @tmcdiscord
I have installed visual build tools 2019 and still won't work when I run this command in anaconda command prompt: pip install guidedlda
it gives me this error:
(base) C:\Users\tmc>pip install guidedlda Collecting guidedlda Using cached https://files.pythonhosted.org/packages/f8/ee/6d6e2b3525388399e12 a4482554c7529a5fcf5e99c50a60abaa02894b8bf/guidedlda-2.0.0.dev22.tar.gz Requirement already satisfied: numpy in c:\users\tmc\anaconda3\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\tmc\Anaconda3\python.exe -u -c "import s etuptools, tokenize;file='C:\Users\tmc\AppData\Local\Temp\pip-install- qfynn0u2\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\tmc\AppData\Local\Temp\pip-wheel-ve_gmxyu --python-tag c p36: running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\guidedlda copying guidedlda\datasets.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\utils.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda_setup_hooks.py -> build\lib.win-amd64-3.6\guidedlda copying guidedldainit.py -> build\lib.win-amd64-3.6\guidedlda creating build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.6\guidedlda tests copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.6\guide dlda\tests copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.6\guidedlda\tests
copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.6\guidedl da\tests copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.6\guidedld a\tests copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.6\guide dlda\tests copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.6\guidedlda\tes ts copying guidedlda\testsinit.py -> build\lib.win-amd64-3.6\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.6\guidedlda copying guidedlda_guidedlda.pyx -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.c -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.h -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\tests\nyt.ldac -> build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.6\guidedlda\test s copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.6\guidedlda\te sts copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.6\guidedlda\te sts running build_ext building 'guidedlda._guidedlda' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C+
Build Tools": https://visualstudio.microsoft.com/downloads/
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\tmc\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\tmc\AppData\Local\Temp\pip-instal l-qfynn0u2\guidedlda\setup.py';f=getattr(tokenize, 'open', open)(file);cod e=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec')) " install --record C:\Users\tmc\AppData\Local\Temp\pip-record-zyi6xe47\install-r ecord.txt --single-version-externally-managed --compile: running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\guidedlda creating build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.6\guidedld a\tests copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.6\gui dedlda\tests copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.6\guidedlda\tes ts copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.6\guide dlda\tests copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.6\guided lda\tests copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.6\gui dedlda\tests copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.6\guidedlda\t ests copying guidedlda\testsinit.py -> build\lib.win-amd64-3.6\guidedlda\tes ts copying guidedlda\datasets.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\utils.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda_setup_hooks.py -> build\lib.win-amd64-3.6\guidedlda copying guidedldainit.py -> build\lib.win-amd64-3.6\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.6\guidedlda\tests copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.6\guidedlda\test s copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.6\guidedlda\test s copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.6\guidedlda\te sts copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.6\guidedlda tests copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.6\guidedlda tests copying guidedlda_guidedlda.c -> build\lib.win-amd64-3.6\guidedlda copying guidedlda_guidedlda.pyx -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.c -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.h -> build\lib.win-amd64-3.6\guidedlda running build_ext building 'guidedlda._guidedlda' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Command "C:\Users\tmc\Anaconda3\python.exe -u -c "import setuptools, tokenize; file='C:\Users\tmc\AppData\Local\Temp\pip-install-qfynn0u2\guidedlda\s etup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n ', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Us ers\tmc\AppData\Local\Temp\pip-record-zyi6xe47\install-record.txt --single-versi on-externally-managed --compile" failed with error code 1 in C:\Users\tmc\AppDat a\Local\Temp\pip-install-qfynn0u2\guidedlda\
did you get the answer of this? How to solve this error? Hi @vi3k6i5, Need your help on this
Hi @vi3k6i5, I also have the same issue, I would greatly appriciate your help
@ArmaanBhullar vi3k6i5 It seems this is also the issue I am facing. I am not a proficient user but I have tried all of the suggested solutions to no avail. Still failing to build the wheel. I found the workaround another user supplied and still nothing has worked.
This seems to be an ongoing issue from the results of my search for more help. Would it be possible for you to supply further guidance on this issue?
I have installed visual build tools 2019 and still won't work when I run this command in anaconda command prompt: pip install guidedlda
it gives me this error:
(base) C:\Users\tmc>pip install guidedlda Collecting guidedlda Using cached https://files.pythonhosted.org/packages/f8/ee/6d6e2b3525388399e12 a4482554c7529a5fcf5e99c50a60abaa02894b8bf/guidedlda-2.0.0.dev22.tar.gz Requirement already satisfied: numpy in c:\users\tmc\anaconda3\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\tmc\Anaconda3\python.exe -u -c "import s etuptools, tokenize;file='C:\Users\tmc\AppData\Local\Temp\pip-install- qfynn0u2\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\tmc\AppData\Local\Temp\pip-wheel-ve_gmxyu --python-tag c p36: running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\guidedlda copying guidedlda\datasets.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\utils.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda_setup_hooks.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda__init__.py -> build\lib.win-amd64-3.6\guidedlda creating build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.6\guidedlda\ tests copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.6\guide dlda\tests copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.6\guidedlda\tests
copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.6\guidedl da\tests copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.6\guidedld a\tests copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.6\guide dlda\tests copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.6\guidedlda\tes ts copying guidedlda\tests__init__.py -> build\lib.win-amd64-3.6\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.6\guidedlda copying guidedlda_guidedlda.pyx -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.c -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.h -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\tests\nyt.ldac -> build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.6\guidedlda\test s copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.6\guidedlda\te sts copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.6\guidedlda\te sts running build_ext building 'guidedlda._guidedlda' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C+
Build Tools": https://visualstudio.microsoft.com/downloads/
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\tmc\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\tmc\AppData\Local\Temp\pip-instal l-qfynn0u2\guidedlda\setup.py';f=getattr(tokenize, 'open', open)(file);cod e=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec')) " install --record C:\Users\tmc\AppData\Local\Temp\pip-record-zyi6xe47\install-r ecord.txt --single-version-externally-managed --compile: running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\guidedlda creating build\lib.win-amd64-3.6\guidedlda\tests copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.6\guidedld a\tests copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.6\gui dedlda\tests copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.6\guidedlda\tes ts copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.6\guide dlda\tests copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.6\guided lda\tests copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.6\gui dedlda\tests copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.6\guidedlda\t ests copying guidedlda\tests__init.py -> build\lib.win-amd64-3.6\guidedlda\tes ts copying guidedlda\datasets.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\utils.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda_setup_hooks.py -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\init__.py -> build\lib.win-amd64-3.6\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.6\guidedlda\tests copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.6\guidedlda\test s copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.6\guidedlda\test s copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.6\guidedlda\te sts copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.6\guidedlda\ tests copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.6\guidedlda\ tests copying guidedlda_guidedlda.c -> build\lib.win-amd64-3.6\guidedlda copying guidedlda_guidedlda.pyx -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.c -> build\lib.win-amd64-3.6\guidedlda copying guidedlda\gamma.h -> build\lib.win-amd64-3.6\guidedlda running build_ext building 'guidedlda._guidedlda' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Command "C:\Users\tmc\Anaconda3\python.exe -u -c "import setuptools, tokenize; file='C:\Users\tmc\AppData\Local\Temp\pip-install-qfynn0u2\guidedlda\s etup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n ', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Us ers\tmc\AppData\Local\Temp\pip-record-zyi6xe47\install-record.txt --single-versi on-externally-managed --compile" failed with error code 1 in C:\Users\tmc\AppDat a\Local\Temp\pip-install-qfynn0u2\guidedlda\