Python unable to make connection with woocommerce rest api
Just increase the timeout option. something like:
wcapi = API(url="http://localhost/wordpress1",consumer_key="ck_******************************************",consumer_secret="cs_******************************************",wp_api=True,version="wc/v1",timeout=10 # the default is 5, increase to whatever works for you.
)