scripts.package_info – Information about gensim package

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


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

optional arguments:
  -h, --help  show this help message and exit
  --info      Information about Gensim package

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


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

Return type

dict of (str, str)