# xarray.show_versions

### xarray.show_versions(file=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[[source]](https://github.com/pydata/xarray/blob/main/xarray/util/print_versions.py#L80-L158)

print the versions of xarray and its dependencies

* **Parameters:**
  **file** ([file-like](https://docs.python.org/3/glossary.html#term-file-like-object), *optional*) – print to the given file-like object. Defaults to sys.stdout.
