Check version for python libraries of Hopsworks and HSFS

I have recently installed hopsworks library in a Conda python 9 environment. How can I check which version of hopsworks library I have installed?

import hopsworks
hopsworks.__version__

The above code snippet gives the following error:

AttributeError: module ‘hopsworks’ has no attribute ‘version

What can I do to check the version of installed hopsworks library?

Hi @rukshar69 ,
You can run:

import hopsworks
hopsworks.version.__version__

Thank you for your reply. I have tried this code:

import hopsworks
hopsworks.version.__version__

but I am still getting the following error:

AttributeError: module ‘hopsworks’ has no attribute ‘version’

However,

hopsworks.login()

is working.

Hey @rukshar69! You can run this:

from hopsworks import version
version.__version__

The same goes for hsfs.

In an upcoming release we’re also making it so you can do:

import hopsworks
hopsworks.__version__

Thanks,
Robin

1 Like

Thank you so much. This works :grinning: :grinning: