Thanks for reporting!
Unfortunately I cannot reproduce your issue on Hopsworks version 1.2 together with hops version 126.96.36.199, as well as on current master.
Can you try the same in a newly created project?
For us to be able to reproduce your issue, can you provide some more information about your setup: which version of Hopsworks and the hops library you are using, is it a hopsworks.ai deployment or a manual installation? Which kernel are you using, e.g. Python or PySpark? How are you importing the module and did you install or import other libraries before?
Are you able to import other modules, e.g.
from hops import experiment?
You can find the Hopsworks version in the Settings tab -> Versions inside a project. And the hops version in the Python settings among the installed libraries in your project.
Thanks for the additional information.