Cannot build APK with python3crystax and flask - conflicting dependencies
See original GitHub issue@kchomski commented on Wed Mar 01 2017
Hi,
It’s not possible to build APK when python3crystax
and flask
are both in requirements (or maybe I am doing something terribly wrong).
From what I can see the problem comes from conflicting dependencies in recipes: flask
depends on (python2
OR python3crystax
) AND setuptools
, but setuptools
depends only on python2
, which conflicts with python3crystax
.
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[WARNING]: NDK version was set as r10.3.2, but checking the NDK dir claims it is 10.3.2.
[WARNING]: The build will try to continue, but it may fail and you should check that your setting is correct.
[WARNING]: If the NDK dir result is correct, you don't need to manually set the NDK ver.
[INFO]: Using Crystax NDK r10.3.2
[INFO]: Found virtualenv at /usr/local/bin/virtualenv
[INFO]: Found the following toolchain versions: ['4.9', '5', 'clang3.6', 'clang3.7']
[INFO]: Picking the latest gcc toolchain, here 5
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Bootstrap requires recipes ['genericndkbuild', ('python2', 'python3crystax')]
[INFO]: Loaded recipe flask (depends on [('python2', 'python3crystax'), 'setuptools'])
[INFO]: Loaded recipe genericndkbuild (depends on [('python2', 'python3crystax')], conflicts ['sdl2', 'pygame', 'sdl'])
[INFO]: Loaded recipe python3crystax (depends on ['hostpython3crystax'], conflicts ['python2', 'python3'])
[INFO]: Loaded recipe setuptools (depends on ['python2'])
[INFO]: Loaded recipe hostpython3crystax (depends on [], conflicts ['hostpython2'])
[INFO]: Loaded recipe python2 (depends on ['hostpython2'], conflicts ['python3crystax', 'python3'])
[WARNING]: python2 conflicts with python3crystax, but both have been included or pulled into the requirements.
[WARNING]: Due to this conflict the build cannot continue, exiting.
@tito commented on Mon May 01 2017
This is an issue with python-for-android itself. I’m moving it to the proper project.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Cannot build APK with python3crystax and flask - conflicting ...
Hi, It's not possible to build APK when python3crystax and flask are both in ... from conflicting dependencies in recipes: flask depends on...
Read more >Can't build Kivy project with buildozer and python3crystax
I see some weird string in logs. I really have not this path in Crystax ndk folder. [WARNING]: include directory doesn't exist: /home/kivy/....
Read more >buildozer - PyPI
Buildozer will use that spec to create a package for Android, iOS, ... Cannot build APK with python3crystax and flask - conflicting dependencies...
Read more >Buildozer(Conda Python3 Environment) + kivy, numpy, scipy ...
It seems to be possible to do that using buildozer but and cannot manage to make it work. I can create APK for...
Read more >kivy Changelog - pyup.io
Cannot build APK with python3crystax and flask - conflicting dependencies [\1041](https://github.com/kivy/python-for-android/issues/1041)
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue here being caused by the requests package pulling in python2.
Closing as stale, this may well have been fixed by all the changes since it was raised.