Skip to content

python2legacy - various warnings then no valid dependency graphs #1582

Closed
@hottwaj

Description

@hottwaj

I have just tried to build my app using the new (post API 26) toolchain. Unfortunately my app still needs to use pygame/sdl on android, so I saw in the docs that I need to use the python2legacy recipe

When I run P4A with the python2recipe selected, I get various warnings like this:

/home/jonathan/prog/src/p4a-2019/pythonforandroid/recipes/pyjnius/__init__.py:3: RuntimeWarning: Parent module 'pythonforandroid.recipes' not found while handling absolute import
  from pythonforandroid.patching import will_build

This happens for all recipes I have included in my build.

Finally, I get:

[ERROR]:   Build failed: Didn't find any valid dependency graphs. This means that some of your requirements pull in conflicting dependencies.

I guess that this is because some recipes depend on python2 (and not python2legacy)?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions