0

I am new to python. I was having trouble installing threading library because I had an error. I asked and was told that the library already existed and therefore I was getting this error. Now, when I run my program I get this error. I am not sure how to fix it or what to do. The other problem is that this problem makes the terminal not responsive (cannot enter anything or exit). I should mention that others are running the same program without problems (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 colon are used at the end of the lines (not sure if that is relevant). current error and problem... error installing threading...

5
  • You should edit your question to include the information in those images. If you click on the DOS window icon, you can use the items in the Edit menu to copy the text out of the window. Commented May 2, 2015 at 13:07
  • What's your code like? Commented May 2, 2015 at 13:07
  • It is fo Sony QX100 camera. Line 24: s = start_liveview() ... Line 109: response = sony_api_call("startLiveview", []) ... Line 45: response = requests.post(cam_url, data=json.dumps(payload), headers=headers) Commented May 2, 2015 at 13:32
  • Please put the code in the question and format it so it looks well. Commented May 3, 2015 at 1:04
  • @Helena we need more information about the code than what you provide. I'm a requests core-developer and my email is publicly accessible. If you need to share the code privately, you can email it to me. That said, you should really use this forum if you're able to post the code publicly Commented May 3, 2015 at 14:40

1 Answer 1

0

I resolved the problem. It wasn't anything wrong with the code. The camera WiFi connection had problem connecting to the PC.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.