The code imports the 'warning' library at the beginning, The relevant code is as follows:
import warnings
warnings.filterswarnings('ignore')
when I run the code, it appears an error
AttributeError: module 'warnings' has no attribute 'filterswarnings'
later, I choose to pip install warnings to overcome this problem, then it appears
ERROR: Could not find a version that satisfies the requirement warnings (from versions: none)
ERROR: No matching distribution found for warnings
now, I still have not overcome this problem. how can I do to overcome this problem?