Question about import datas

Failed to write data to connection (‘localhost’, 7687) (Address(host=‘’, port=7687)); (“10038; ‘在一个非套接字上尝试了一个操作。’; None; 10038; None”)
This error occurred while the program was running.I cann't understand this error.I think this should not be a programming error.
Please give me a hand.Thanks!

I cannot see a real question in your post, nor did you provide any context enabling anyone to help you.

Maybe study How To Ask Questions The Smart Way on how to write reasonable questions.