Help on my generated password

What I’m trying to do:
Im tring to generate a hash password so that i can set a password for a user
What I’ve tried and what’s not working:
Ive done the code with google gemini and it says Server: anvil.users module not found.
Hash for ‘Mypassword’: None
Client: anvil.users module not found.

Clone link:
Anvil | Login

You have to add the Users service to your app then import anvil.users to your relevant forms or modules.

I suggest having a look at the docs:

Also a Python course that covers the fundamentals of working with the language.