I am trying to deploy a model but it keeps giving me an error warning ModuleNotFoundError: No module named ‘numpy.random.bit_generator’. Any body got a way to fix this. This is my git repo just incase GitHub - Obatsa/Airbnb_Project: Build a recommendation system for Airbnbs.
Hi @Obatsa, welcome to the Streamlit community!
It looks like you’ve resolved the issue. The error was thrown because the version of numpy in your requirements file did not contain the randon.bit_generator method. Upgrading from numpy==1.18.5 to numpy==1.21.5 fixed your issue.
numpy==1.18.5
numpy==1.21.5