I/python (19485): File "/data/data/org.MyCompny.widget/files/lib/python2.7/site-packages/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py", line 1
I/python (19485): SyntaxError: Non-ASCII character '\xf3' in file /data/data/org.MyCompny.widget/files/lib/python2.7/site-packages/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
All is OK with 2.0.1 and lastest "python for androird" goal with recent release of requests, ihaveI / python (19485): File line 1 I / python (19485): SyntaxError: Non-ASCII character '\ XF3' in file on line 1, but no encoding Declared; see http://www.python.org/peps/ pep-0263.html for detailsi do not see anything if __ implementation file.Franck
--
You received this message because you are subscribed to the Google Groups "Python For Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-androi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Python-for-android does not yet support Python 3. It only supports Python 2.7.2.If you're using buildozer, you can specify an older version of requests like:requirements = kivy,requests==2.1.0
On Thu, Feb 20, 2014 at 2:01 PM, Ahmad Farihan <ahmadf...@gmail.com> wrote:
Hi,I have the same problem. Using Requests with Kivy in ubuntu 12.04 with Python 3.3.3 is ok. But once using Requests in Kivy Android, the exact error came out and Kivy died. Is there any way to choose which version of python to be compiled before uploading to Android other than 2.7.2 ? I tried to mess with distribute.sh file forcing it to change the python version to python 3, but it always download 2.7.2.
Best,Han
On Monday, December 9, 2013 7:11:57 p.m. UTC +8, Franck R wrote:All is OK with 2.0.1 and lastest "python for androird" goal with recent release of requests, ihaveI / python (19485): File line 1 I / python (19485): SyntaxError: Non-ASCII character '\ XF3' in file on line 1, but no encoding Declared; see http://www.python.org/peps/ pep-0263.html for details
i do not see anything if __ implementation file.Franck
--
You received this message because you are subscribed to the Google Groups "Python For Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-android+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.