Do you have a PYTHONPATH, PYTHONSTARTUP, or PYTHONHOME?

Probably worth trying to launch your python with `-v -v -v` and see where it's 
loading its files from.

> On 14-Jun-2017, at 12:52 PM, NP <nearapo...@gmail.com> wrote:
> 
> Can anybody help out here....?
> 
> Thanks
> 
> On Tuesday, June 13, 2017 at 9:30:20 AM UTC-7, NP wrote:
> 1) I'm running Google App Engine SDK on Mac OS X El Capitan. I have Python 
> 2.7.13
> 
> 
> 
> 2) While trying to test my app with Stripe, I get the following error
> 
>      Request req_ApPsfecKnLFJxb: Stripe no longer supports API requests made 
> with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You 
> can learn more about this        at https://stripe.com/blog/upgrading-tls 
> <https://stripe.com/blog/upgrading-tls>.
> 
> 
> 
> 3) I did some Googling and based on what I found, I did the following
> 
> 
>  Used brew to upgrade my OpenSSL
> Confirmed that when I do 'which openssl', I get
> 
>      /usr/local/opt/openssl/bin/openssl
> 
>      and when I do 'openssl version', I get
> 
>     OpenSSL 1.0.2l
> 
> 
> 
> 
> If I do
> 
>            >>> import ssl
> 
>           >>> ssl.OPENSSL_VERSION, I get
> 
>           >>> 'OpenSSL 1.0.2l 23 May 2017'
> 
> 
> 
> But I still get the error from Stripe about not using TLS 1.2.
> 
> 
> 
> I found this SO question 
> <https://stackoverflow.com/questions/42566809/enable-tls-1-2-on-mac-osx> but 
> it didn't solve my problem. I also found this Google Group Discussion 
> <https://issuetracker.google.com/issues/35900856> and after running the steps 
> in #5, it shows app engine is still pointing to the old version of OPENSSL 
> because the output shows 'OpenSSL 0.9.8zh 14 Jan 2016'
> 
> 
> 
> 4) Based on the earlier referenced Google Group Discussion, I ran the 
> following code in both GAE Dev and directly in my python intepreter
> 
> 
> 
>     import ssl 
> 
>     print ssl.__file__ 
> 
> 
> 
> 
> 
> GAE DEV: 
> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.pyc
> 
> 
> 
> Python Interpreter: 
> /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.pyc
> 
> 
> 
> 
> 
> They're pointing to different files. How do I fix this? How do I get App 
> Engine to use the newer version of OpenSSL that I've installed?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengine+unsubscr...@googlegroups.com 
> <mailto:google-appengine+unsubscr...@googlegroups.com>.
> To post to this group, send email to google-appengine@googlegroups.com 
> <mailto:google-appengine@googlegroups.com>.
> Visit this group at https://groups.google.com/group/google-appengine 
> <https://groups.google.com/group/google-appengine>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/f8b1c84a-5799-479a-b4c0-1867ba10cbb2%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/google-appengine/f8b1c84a-5799-479a-b4c0-1867ba10cbb2%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/37BB0490-968E-4B3B-9AAD-7551356710A6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to