Go to advanced search

by Raspberry Novice
Thu Feb 01, 2018 7:04 pm
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

Re: twilio import Error with SSL

About elParaguayo's suggestion none of the libraries or imports install correctly when I try to run it on Python 3 using the method described.. @Mahjongg: I noticed https://www.raspberrypi.org/forums/viewtopic.php?t=163075 has a similar problem in troubleshooting so if you want me to move the thread...
by Raspberry Novice
Thu Feb 01, 2018 12:07 am
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

Re: twilio import Error with SSL

Ironically it works on Python 2 but Python 3 doesn't :https://imgur.com/PgTaFSR
by Raspberry Novice
Wed Jan 31, 2018 8:07 pm
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

Re: twilio import Error with SSL

That screenshot shows you typing the import command at a terminal prompt. That's not going to work. The import command needs to be in a python environment so run "python3" from the terminal prompt and then try your import line. Thank you for your guidance. Here is what i get as result: https://imgu...
by Raspberry Novice
Tue Jan 30, 2018 3:09 am
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

Re: twilio import Error with SSL

supra wrote:
Mon Jan 29, 2018 7:22 pm
Can you try this link? https://abhrajit.blogspot.ca/2016/05/in ... buntu.html
No output given other than error no command import found.
https://imgur.com/a/dw1cQ
by Raspberry Novice
Mon Jan 29, 2018 7:20 pm
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

Re: twilio import Error with SSL

supra wrote:
Mon Jan 29, 2018 7:17 pm
Raspberry Novice wrote:
Mon Jan 29, 2018 7:13 pm
I fixed the SSL error by upgrading Python to 3.6.4 but the IDLE still does not recognize the Import Twilio. Rest library client.
What's version twilio you have?
6.10.2
by Raspberry Novice
Mon Jan 29, 2018 7:13 pm
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

Re: twilio import Error with SSL

I fixed the SSL error by upgrading Python to 3.6.4 but the IDLE still does not recognize the Import Twilio. Rest library client.
by Raspberry Novice
Mon Jan 29, 2018 5:41 pm
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

Re: twilio import Error

sudo pip3 install twilio or sudo pip3 install twilio --upgrade Thanks but when I run that in terminal I get this: sudo pip3 install twilio pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting twilio Could not fetch URL https://pypi.pyt...
by Raspberry Novice
Mon Jan 29, 2018 2:03 am
Forum: Python
Topic: twilio import Error with SSL
Replies: 10
Views: 2270

twilio import Error with SSL

Hello fellow Raspberry PI 3 users, I recently was assigned a assignment in my class using the following code: #detect_intruder_ldr.py from gpiozero import LightSensor,Buzzer from time import sleep import twilio import twilio.rest from twilio.rest import Client def main(): ACCOUNT_SID = "AC5545aca088...

Go to advanced search