scripts.package_info – Information about gensim package

Get basic information about gensim & dependencies (useful for bug-reporting).

Examples

You can use it through python

>>> from gensim.scripts.package_info import package_info
>>>
>>> info = package_info()

or using CLI interface

python -m gensim.scripts.package_info --info
...

options:
  -h, --help  show this help message and exit
  --info      Information about Gensim package
gensim.scripts.package_info.package_info()

Get the versions of Gensim and its dependencies, the location where Gensim is installed and platform on which the system is running.

Returns

Dictionary containing the versions of Gensim, Python, NumPy, SciPy and platform information.

Return type

dict of (str, str)