'[ERROR]: "RuntimeError: input(): lost sys.stderr"

I'm running Python 3.7.0 and here's the code I have, it's very simple.

response = (input("Recipient's address: "),
        float(input("Enter the amount to send: ").replace(",", "")))
print(response)

When this code gets ran, the following error pops up:

RuntimeError: input(): lost sys.stderr

How do I fix this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source