import streamlit_authenticator print(streamlit_authenticator.__version__) 然后,查阅该版本的官方文档或更新日志,了解hasher属性是否存在。 如果hasher不是该模块的直接属性,查找是否有子模块或类包含此属性: 如果hasher不是streamlit_authenticator模块的直接属性,它可能位于某个子模块或类中。你可以尝试在模块的源代码...
官方文档:https://docs.streamlit.io/ 实现表单登陆文档:https://blog.streamlit.io/streamlit-authenticator-part-1-adding-an-authentication-component-to-your-app/ 实现跳转登陆参考文档:https://levelup.gitconnected.com/building-a-multi-page-app-with-streamlit-and-restricting-user-access-to-pages-using-a...