modelscope 下载模型文件报错:TypeError: init() got an unexpected keyword argument 'allowed_methods' /usr/local/lib/python3.8/dist-packages/modelscope/hub/file_download.py in http_get_file(url, local_dir, file_name, cookies, headers) 208 logger.info('downloading %s to %s', url, temp_file.name) 209 # retry sleep 0.5s, 1s, 2s, 4s --> 210 retry = Retry( 211 total=API_FILE_DOWNLOAD_RETRY_TIMES, 212 backoff_factor=1,
TypeError: init() got an unexpected keyword argument 'allowed_methods'
您好,应该是您这边urllib3和requests两个库版本低导致的,可以尝试更新下这两个库
pip install urllib3 --upgrade pip install requests --upgrade