@axandce 's answer does what is expected, but I have to also clarify a little on his commands used. Instead of using poetry config certificates.pythonhosted.org false
, one have to use poetry config certificates.pythonhosted.cert false
instead - I have tried it on my machine.