I wrote the code, checked it on my computer and everything worked, transferred it to a dedicated server and the following error appears after trying to import module.
Traceback (most recent call last):
File "main.py", line 9, in <module>
import replicate
File "/usr/local/lib/python3.8/dist-packages/replicate/__init__.py", line 3, in <module>
default_client = Client()
File "/usr/local/lib/python3.8/dist-packages/replicate/client.py", line 30, in __init__
read_retries = Retry(
TypeError: __init__() got an unexpected keyword argument 'allowed_methods'
I wrote the code, checked it on my computer and everything worked, transferred it to a dedicated server and the following error appears after trying to import module.