Error starting python program with requests and streaming lib

I am new to python. I had a problem installing the thread library because I had an error. I asked and said the library already exists and that's why I am getting this error. Now when I run my program I get this error. I'm not sure how to fix this or what to do. Another problem is that this problem causes the terminal to become unresponsive (unable to enter or exit anything). I should mention that others are working with the same program without issue (they know python). The code is for Sony QX100 camera.

Line 24: s = start_liveview()

Line 45: response = requests.post(cam_url, data=json.dumps(payload), headers=headers)

Line 109: response = sony_api_call("startLiveview", [])

      

Note: no semi-custom code is used at the end of the lines (not sure if this is relevant). current error and problem ... streaming setup error ...

0


source to share


1 answer


I solved the problem. There was nothing wrong with the code. The camera's WiFi connection has a problem with the PC connection.



0


source







All Articles