vi3k6i5 / GuidedLDA

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

Problem in installing guidedlda #39

Open MahnazBehroozi opened 5 years ago

MahnazBehroozi commented 5 years ago

I am using macOS Mojave Version 10.14.5 and Python 3.6.8 and trying to run the code on anaconda3. Both methods did not work for me.

ERROR: Command errored out with exit status 1: command: /Users/alt-code/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/alt-code/Documents/GuidedLDA/setup.py'"'"'; file='"'"'/Users/alt-code/Documents/GuidedLDA/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info cwd: /Users/alt-code/Documents/GuidedLDA/ Complete output (16 lines): ERROR:root:Error parsing Traceback (most recent call last): File "/Users/alt-code/Documents/GuidedLDA/.eggs/pbr-5.4.2-py3.6.egg/pbr/core.py", line 96, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "/Users/alt-code/Documents/GuidedLDA/.eggs/pbr-5.4.2-py3.6.egg/pbr/util.py", line 270, in cfg_to_args pbr.hooks.setup_hook(config) File "/Users/alt-code/Documents/GuidedLDA/.eggs/pbr-5.4.2-py3.6.egg/pbr/hooks/init.py", line 25, in setup_hook metadata_config.run() File "/Users/alt-code/Documents/GuidedLDA/.eggs/pbr-5.4.2-py3.6.egg/pbr/hooks/base.py", line 27, in run self.hook() File "/Users/alt-code/Documents/GuidedLDA/.eggs/pbr-5.4.2-py3.6.egg/pbr/hooks/metadata.py", line 26, in hook self.config['name'], self.config.get('version', None)) File "/Users/alt-code/Documents/GuidedLDA/.eggs/pbr-5.4.2-py3.6.egg/pbr/packaging.py", line 874, 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 /Users/alt-code/Documents/GuidedLDA/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.

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

aravindsen commented 4 years ago

Did you figure out a solution?