GuidedLDA
GuidedLDA copied to clipboard
installation error on Windows computer : pls help
Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved.
E:\NLP\LDA\code LDA\GuidedLDA_master_very_good_Oct18_2017\GuidedLDA-master>python setup.py
Installed e:\nlp\lda\code lda\guidedlda_master_very_good_oct18_2017\guidedlda-master.eggs\pbr-3.1.1-py3.5.egg ERROR:root:Error parsing Traceback (most recent call last): File "e:\nlp\lda\code lda\guidedlda_master_very_good_oct18_2017\guidedlda-master.eggs\pbr-3.1.1-py3.5.egg\pbr\core.py", line 111, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "e:\nlp\lda\code lda\guidedlda_master_very_good_oct18_2017\guidedlda-master.eggs\pbr-3.1.1-py3.5.egg\pbr\util.py", line 249, in cfg_to_args pbr.hooks.setup_hook(config) File "e:\nlp\lda\code lda\guidedlda_master_very_good_oct18_2017\guidedlda-master.eggs\pbr-3.1.1-py3.5.egg\pbr\hooks_init_.py", line 25, in setup_hook metadata_config.run() File "e:\nlp\lda\code lda\guidedlda_master_very_good_oct18_2017\guidedlda-master.eggs\pbr-3.1.1-py3.5.egg\pbr\hooks\base.py", line 27, in run self.hook() File "e:\nlp\lda\code lda\guidedlda_master_very_good_oct18_2017\guidedlda-master.eggs\pbr-3.1.1-py3.5.egg\pbr\hooks\metadata.py", line 26, in hook self.config['name'], self.config.get('version', None)) File "e:\nlp\lda\code lda\guidedlda_master_very_good_oct18_2017\guidedlda-master.eggs\pbr-3.1.1-py3.5.egg\pbr\packaging.py", line 755, in get_version name=package_name)) Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name guidedlda was given, but was not able to be found. error in setup command: Error parsing E:\NLP\LDA\code LDA\GuidedLDA_master_very_good_Oct18_2017\GuidedLDA-master\setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name guidedlda was given, but was not able to be found.
E:\NLP\LDA\code LDA\GuidedLDA_master_very_good_Oct18_2017\GuidedLDA-master>
another try Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved.
E:\GuidedLDA_master>python setup.py ERROR:root:Error parsing Traceback (most recent call last): File "e:\guidedlda_master.eggs\pbr-3.1.1-py3.5.egg\pbr\core.py", line 111, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "e:\guidedlda_master.eggs\pbr-3.1.1-py3.5.egg\pbr\util.py", line 249, in cfg_to_args pbr.hooks.setup_hook(config) File "e:\guidedlda_master.eggs\pbr-3.1.1-py3.5.egg\pbr\hooks_init_.py", line 25, in setup_hook metadata_config.run() File "e:\guidedlda_master.eggs\pbr-3.1.1-py3.5.egg\pbr\hooks\base.py", line 27, in run self.hook() File "e:\guidedlda_master.eggs\pbr-3.1.1-py3.5.egg\pbr\hooks\metadata.py", line 26, in hook self.config['name'], self.config.get('version', None)) File "e:\guidedlda_master.eggs\pbr-3.1.1-py3.5.egg\pbr\packaging.py", line 755, in get_version name=package_name)) Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name guidedlda was given, but was not able to be found. error in setup command: Error parsing E:\GuidedLDA_master\setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name guidedlda was given, but was not able to be found.
E:\GuidedLDA_master>
what version of pbr you use?
another attempt to use pip install guidedlda Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved.
E:\GuidedLDA_master>pip install pbr Collecting pbr Downloading pbr-3.1.1-py2.py3-none-any.whl (99kB) 100% |################################| 102kB 95kB/s Installing collected packages: pbr Successfully installed pbr-3.1.1
E:\GuidedLDA_master>pip install guidedlda
Collecting guidedlda
Downloading guidedlda-1.9.0.dev9.tar.gz (2.1MB)
100% |################################| 2.1MB 103kB/s
Building wheels for collected packages: guidedlda
Running setup.py bdist_wheel for guidedlda ... error
Complete output from command c:\users\cde3\anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\cde3\AppData\Local\Temp\pip-build-ext3w1oy\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\cde3\AppData\Local\Temp\tmpyqsrsop0pip-wheel- --python-tag cp35:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\guidedlda
creating build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests_init_.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\datasets.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\utils.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda_setup_hooks.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda_init_.py -> build\lib.win-amd64-3.5\guidedlda
running egg_info
writing guidedlda.egg-info\PKG-INFO
writing top-level names to guidedlda.egg-info\top_level.txt
writing dependency_links to guidedlda.egg-info\dependency_links.txt
[pbr] Reusing existing SOURCES.txt
copying guidedlda\tests\nyt.ldac -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda_guidedlda.c -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda_guidedlda.pyx -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\gamma.c -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\gamma.h -> build\lib.win-amd64-3.5\guidedlda
running build_ext
Traceback (most recent call last):
File "
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\cde3\anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\cde3\AppData\Local\Temp\pip-build-ext3w1oy\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\cde3\AppData\Local\Temp\pip-gnquv5qj-record\install-record.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.5
creating build\lib.win-amd64-3.5\guidedlda
creating build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_datasets.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_guidedlda_nyt.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda_reuters.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda_sparse.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_lda_transform.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\test_utils.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests_init_.py -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\datasets.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\guidedlda.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\utils.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda_setup_hooks.py -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda_init_.py -> build\lib.win-amd64-3.5\guidedlda
running egg_info
writing top-level names to guidedlda.egg-info\top_level.txt
writing guidedlda.egg-info\PKG-INFO
writing dependency_links to guidedlda.egg-info\dependency_links.txt
[pbr] Reusing existing SOURCES.txt
copying guidedlda\tests\nyt.ldac -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\nyt.titles -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\nyt.tokens -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\reuters.ldac -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\reuters.titles -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda\tests\reuters.tokens -> build\lib.win-amd64-3.5\guidedlda\tests
copying guidedlda_guidedlda.c -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda_guidedlda.pyx -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\gamma.c -> build\lib.win-amd64-3.5\guidedlda
copying guidedlda\gamma.h -> build\lib.win-amd64-3.5\guidedlda
running build_ext
Traceback (most recent call last):
File "
----------------------------------------
Command "c:\users\cde3\anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\cde3\AppData\Local\Temp\pip-build-ext3w1oy\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\cde3\AppData\Local\Temp\pip-gnquv5qj-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\cde3\AppData\Local\Temp\pip-build-ext3w1oy\guidedlda\
E:\GuidedLDA_master>
when lda installed correctly Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved.
E:\GuidedLDA_master>pip install lda Collecting lda Downloading lda-1.0.5-cp35-cp35m-win_amd64.whl (316kB) 100% |################################| 317kB 454kB/s Requirement already satisfied: numpy<2.0,>=1.6.1 in c:\users\cde3\anaconda3\lib\site-packages (from lda) Requirement already satisfied: pbr>=0.6 in c:\users\cde3\anaconda3\lib\site-packages (from lda) Installing collected packages: lda Successfully installed lda-1.0.5
E:\GuidedLDA_master>
Thanks for sharing all the details. I don't have access to a windows machine right now. I will try my best to get it setup.
I tested it on Ubuntu and mac. Will try to add test for windows machine also.
@Sandy4321 Did you try pip install guidedlda
?
I tried it on a windows machine version : 10.0.14393 Build 14393 , Python: 2.7 with anaconda installed and It worked fine.
how you installed it did you used pip? how you compiled C code? which compiler installed in this computer?
I did pip install guidedlda
, try that and let me know if that works.
Will check the c compiler and let you know.
Also Anaconda is installed on that computer https://www.anaconda.com/download/.
anaconda I understand it is something standard but what C++ compiler?
I will check the c compiler and let you know. I don't have access to a windows machine right now.
pip install guidedlda
failed for you, I will check and update by tomorrow.
any news?
Nope. So far not able to reproduce. I will try on more windows machine when I get time.
so do you succeed install on windows computer or not? I tried 4 computer and on 2 of them installation was ok may you recommend link to study how to use C++ and python together as you did?
Not yet still need to find one windows machine. And replicate the issue. I will try to come up with the C++ with Python once I get there. Will definately try this before the end of the week.
super thanks, majority of people use Windows computers , you know...
may I write you to your email?
sure. No problem.
hello, could u pls write the recommended resolution method over here? thanks in advance..
I installed visual studio community which includes the visual c++ compiler and then it worked on my win 7 machine.
Thanks, that might help other people as well :)
On Wed 11 Apr, 2018, 19:56 ClemensHa, [email protected] wrote:
I installed visual studio community which includes the visual c++ compiler and then it worked on my win 7 machine.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/vi3k6i5/GuidedLDA/issues/2#issuecomment-380471746, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-NwszjatgxNlu8751pB5IyFYIWyYxcks5tnhKZgaJpZM4P-FB0 .
ClemencsHA may you share how you installed on windows original installation instructions are for linux pip install guidedlda If pip install does not work, then try the next step:
https://github.com/vi3k6i5/GuidedLDA cd GuidedLDA sh build_dist.sh python setup.py sdist pip install -e .
I tried to install again but again when visual c++ compiler is installed and another packaged needed this compiler are installed correctly but there is error Microsoft Windows [Version 10.0.16299.371] (c) 2017 Microsoft Corporation. All rights reserved.
E:\NLP\LDA\code LDA\GuidedLDA_master_may6_2018\GuidedLDA-master>pip install -e . Obtaining file:///E:/NLP/LDA/code%20LDA/GuidedLDA_master_may6_2018/GuidedLDA-master Complete output from command python setup.py egg_info: c:\users\sndr\anaconda3\lib\site-packages\setuptools\pep425tags.py:89: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): c:\users\sndr\anaconda3\lib\site-packages\setuptools\pep425tags.py:93: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): ERROR:root:Error parsing Traceback (most recent call last): File "e:\nlp\lda\code lda\guidedlda_master_may6_2018\guidedlda-master.eggs\pbr-4.0.2-py3.6.egg\pbr\core.py", line 96, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "e:\nlp\lda\code lda\guidedlda_master_may6_2018\guidedlda-master.eggs\pbr-4.0.2-py3.6.egg\pbr\util.py", line 258, in cfg_to_args pbr.hooks.setup_hook(config) File "e:\nlp\lda\code lda\guidedlda_master_may6_2018\guidedlda-master.eggs\pbr-4.0.2-py3.6.egg\pbr\hooks_init_.py", line 25, in setup_hook metadata_config.run() File "e:\nlp\lda\code lda\guidedlda_master_may6_2018\guidedlda-master.eggs\pbr-4.0.2-py3.6.egg\pbr\hooks\base.py", line 27, in run self.hook() File "e:\nlp\lda\code lda\guidedlda_master_may6_2018\guidedlda-master.eggs\pbr-4.0.2-py3.6.egg\pbr\hooks\metadata.py", line 26, in hook self.config['name'], self.config.get('version', None)) File "e:\nlp\lda\code lda\guidedlda_master_may6_2018\guidedlda-master.eggs\pbr-4.0.2-py3.6.egg\pbr\packaging.py", line 816, in get_version name=package_name)) Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name guidedlda was given, but was not able to be found. error in setup command: Error parsing E:\NLP\LDA\code LDA\GuidedLDA_master_may6_2018\GuidedLDA-master\setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name guidedlda was given, but was not able to be found.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in E:\NLP\LDA\code LDA\GuidedLDA_master_may6_2018\GuidedLDA-master
You are using pip version 10.0.0, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
E:\NLP\LDA\code LDA\GuidedLDA_master_may6_2018\GuidedLDA-master>
ok I uninstalled all compilers for C++ and installed VC compiler now it works pls check if result correct whe there are many warnings? WARNING:guidedlda:all zero column in document-term matrix found
(8447, 3012) 1221626 INFO:guidedlda:n_documents: 8447 INFO:guidedlda:vocab_size: 3012 INFO:guidedlda:n_words: 1221626 INFO:guidedlda:n_topics: 5 INFO:guidedlda:n_iter: 100 WARNING:guidedlda:all zero column in document-term matrix found INFO:guidedlda:<0> log likelihood: -11489265 INFO:guidedlda:<20> log likelihood: -9844667 INFO:guidedlda:<40> log likelihood: -9694223 INFO:guidedlda:<60> log likelihood: -9642506 INFO:guidedlda:<80> log likelihood: -9617962 INFO:guidedlda:<99> log likelihood: -9604031 Topic 0: company percent market business plan pay price increase Topic 1: game play team win player season second start Topic 2: life child write man school woman father family Topic 3: place open small house music turn large play Topic 4: official state government political states issue leader case INFO:guidedlda:n_documents: 8447 INFO:guidedlda:vocab_size: 3012 INFO:guidedlda:n_words: 1221626 INFO:guidedlda:n_topics: 5 INFO:guidedlda:n_iter: 100 WARNING:guidedlda:all zero column in document-term matrix found INFO:guidedlda:<0> log likelihood: -11486372 INFO:guidedlda:<20> log likelihood: -9765300 INFO:guidedlda:<40> log likelihood: -9659651 INFO:guidedlda:<60> log likelihood: -9622617 INFO:guidedlda:<80> log likelihood: -9604295 INFO:guidedlda:<99> log likelihood: -9592268 Topic 0: game play team win season player second point start victory Topic 1: company percent market price business sell pay plan executive buy Topic 2: play life man music place turn book woman write thing Topic 3: official government state political leader states issue member case country Topic 4: school child city family problem student life program group state
This warning comes when any column in the document term matrix is empty
WARNING:guidedlda:all zero column in document-term matrix found
Basically for at least one term the overall frequency across all docs is 0.
On Sun 6 May, 2018, 19:55 Sandy4321, [email protected] wrote:
ok I uninstalled all compilers for C++ and installed VC compiler now it works pls check if result correct whe there are many warnings? WARNING:guidedlda:all zero column in document-term matrix found
(8447, 3012) 1221626 INFO:guidedlda:n_documents: 8447 INFO:guidedlda:vocab_size: 3012 INFO:guidedlda:n_words: 1221626 INFO:guidedlda:n_topics: 5 INFO:guidedlda:n_iter: 100 WARNING:guidedlda:all zero column in document-term matrix found INFO:guidedlda:<0> log likelihood: -11489265 INFO:guidedlda:<20> log likelihood: -9844667 INFO:guidedlda:<40> log likelihood: -9694223 INFO:guidedlda:<60> log likelihood: -9642506 INFO:guidedlda:<80> log likelihood: -9617962 INFO:guidedlda:<99> log likelihood: -9604031 Topic 0: company percent market business plan pay price increase Topic 1: game play team win player season second start Topic 2: life child write man school woman father family Topic 3: place open small house music turn large play Topic 4: official state government political states issue leader case INFO:guidedlda:n_documents: 8447 INFO:guidedlda:vocab_size: 3012 INFO:guidedlda:n_words: 1221626 INFO:guidedlda:n_topics: 5 INFO:guidedlda:n_iter: 100 WARNING:guidedlda:all zero column in document-term matrix found INFO:guidedlda:<0> log likelihood: -11486372 INFO:guidedlda:<20> log likelihood: -9765300 INFO:guidedlda:<40> log likelihood: -9659651 INFO:guidedlda:<60> log likelihood: -9622617 INFO:guidedlda:<80> log likelihood: -9604295 INFO:guidedlda:<99> log likelihood: -9592268 Topic 0: game play team win season player second point start victory Topic 1: company percent market price business sell pay plan executive buy Topic 2: play life man music place turn book woman write thing Topic 3: official government state political leader states issue member case country Topic 4: school child city family problem student life program group state
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/vi3k6i5/GuidedLDA/issues/2#issuecomment-386883249, or mute the thread https://github.com/notifications/unsubscribe-auth/AC-Nwnjlk3btBcWQbtAleBZvqIDNo91Vks5tvwfkgaJpZM4P-FB0 .
I tried pip install in conda prompt and I am unable to install the package :-(
PFB the error message I received:
(base) C:\Users\Renuka>pip install guidedlda
Collecting guidedlda
Downloading https://files.pythonhosted.org/packages/f8/ee/6d6e2b3525388399e12a
4482554c7529a5fcf5e99c50a60abaa02894b8bf/guidedlda-2.0.0.dev22.tar.gz (2.1MB)
100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 2.1MB 2.1MB/s
Requirement already satisfied: numpy in c:\users\renuka\anaconda3\lib\site-packa
ges (from guidedlda) (1.14.0)
Building wheels for collected packages: guidedlda
Running setup.py bdist_wheel for guidedlda ... error
Complete output from command c:\users\renuka\anaconda3\python.exe -u -c "impor
t setuptools, tokenize;file='C:\Users\Renuka\AppData\Local\Temp\pip-in
stall-yymfs60u\guidedlda\setup.py';f=getattr(tokenize, 'open', open)(file)
;code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exe
c'))" bdist_wheel -d C:\Users\Renuka\AppData\Local\Temp\pip-wheel-7xb3xfdg --pyt
hon-tag cp36:
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
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
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\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 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": http://landinghub.visualstudio.com/visual-cpp-build-tools
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\renuka\anaconda3\python.exe -u -c "imp ort setuptools, tokenize;file='C:\Users\Renuka\AppData\Local\Temp\pip- install-yymfs60u\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\Renuka\AppData\Local\Temp\pip-record-xtejb91u
install-record.txt --single-version-externally-managed --compile: running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.1s) 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": http://landinghub.visualstudio.com/visual-cpp-build-tools
Command "c:\users\renuka\anaconda3\python.exe -u -c "import setuptools, tokenize ;file='C:\Users\Renuka\AppData\Local\Temp\pip-install-yymfs60u\guided lda\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\Renuka\AppData\Local\Temp\pip-record-xtejb91u\install-record.txt --sin gle-version-externally-managed --compile" failed with error code 1 in C:\Users\R enuka\AppData\Local\Temp\pip-install-yymfs60u\guidedlda\
Hi Vikas, I tried to install 'GuidedLDA' but it seems windows user still have the issue.
Below is the error message: 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/
Would appreciate if you can help to get this issue resolved.
Thanks!!
I was having the same issue and i downgraded from python3.7 to python3.5 solved the problem.
I was having the same issue and i downgraded from python3.7 to python3.5 solved the problem.
I am not sure how this solved the issue as the error msg says its due to the microsoft visual C++ 14.0. Will try installing python 3.5 and check. Thanks !!
Hello.
I have an issue with pip install guidedlda which produces: "building 'guidedlda._guidedlda' extension error: Microsoft Visual C++ 14.0 is required." Is there a precompiled wheel for guidedlda? I'm on Windows 10, have a relatively small eMMC storage and don't want to install huge Visual C++ 14.0. Something like this: https://www.lfd.uci.edu/~gohlke/pythonlibs/
Thank you.
Hi there, have the same problem, would be great to have a precompiled wheel