Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method for showing base info about gensim #1902

Closed
menshikh-iv opened this issue Feb 14, 2018 · 1 comment
Closed

Add method for showing base info about gensim #1902

menshikh-iv opened this issue Feb 14, 2018 · 1 comment
Labels
difficulty easy Easy issue: required small fix feature Issue described a new feature good first issue Issue for new contributors (not required gensim understanding + very simple)

Comments

@menshikh-iv
Copy link
Contributor

menshikh-iv commented Feb 14, 2018

Intro

When users report something, we need to know more information (not only gensim version, versions of related packages, OS and so on), and user need to copy-paste&run something like this

Please run the following snippet and paste the output below.
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.__version__)
import scipy; print("SciPy", scipy.__version__)
import gensim; print("gensim", gensim.__version__)
from gensim.models import word2vec;print("FAST_VERSION", word2vec.FAST_VERSION)

We can easily add it as method to gensim and use as python -m gensim.scripts.package_info --info

Todo

Implement this method, information, that should be showed

  • gensim version
  • python version
  • numpy version
  • scipy version
  • os version
  • smart_open version
  • FAST_VERSION variable
  • path (where gensim installed)
  • ??? (maybe something else)
@menshikh-iv menshikh-iv added feature Issue described a new feature difficulty easy Easy issue: required small fix good first issue Issue for new contributors (not required gensim understanding + very simple) labels Feb 14, 2018
@sharanry
Copy link
Contributor

I am taking this up.

menshikh-iv pushed a commit that referenced this issue Feb 15, 2018
…ges. Fix #1902 (#1903)

* Add help option when running gensim

* requested changes

* Add program output

* Fix flake8 errors

* Add .rst file

* Fix many stuff

* fix

* rename all as scripts.package_info

* fix
sj29-innovate pushed a commit to sj29-innovate/gensim that referenced this issue Feb 21, 2018
…ges. Fix piskvorky#1902 (piskvorky#1903)

* Add help option when running gensim

* requested changes

* Add program output

* Fix flake8 errors

* Add .rst file

* Fix many stuff

* fix

* rename all as scripts.package_info

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty easy Easy issue: required small fix feature Issue described a new feature good first issue Issue for new contributors (not required gensim understanding + very simple)
Projects
None yet
Development

No branches or pull requests

2 participants