Question about import datas

Failed to write data to connection (‘localhost’, 7687) (Address(host=‘127.0.0.1’, 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 http://catb.org/~esr/faqs/smart-questions.html on how to write reasonable questions.