-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_scproxy import error when building on Mac with 'requests' lib #186
Comments
The above does not seem to solve my issues, I have the exact same problem but when I change main.py I don't see any changes (I am on a Mac/OSX) I/python (21089): File "/Users/yatharth/src/ktest2/.buildozer/android/app/main.py", line 3, in |
@y99 it looks like line 3 of your main.py is triggering the issue. Did you place the workaround code above this line? |
No i did not, after doing so - the problem seems to have gone away ! - thanks |
Building on a Mac while requiring the 'requests' Python library causes an import error on Android.
Excerpt from logcat:
This is seems to be related to the fact that _scproxy is a Mac-specific Python library. The error can be worked around by adding the following to the top of main.py:
/cc @akshayaurora
The text was updated successfully, but these errors were encountered: