Skip to content

Build failed after adding serious_python for Windows #116

@RalphGuo

Description

@RalphGuo

Hi, I'm new to Flutter, I want to use python functions in Flutter, and I choose serious_python to do it.

To be familiar with Flutter and serious_python lib, first I build a vary simple "word generation" app following tutorial, it worked. Then I tried to add serious_python dependency in pubspec.yaml and main.dart, and I want to compile it again. I did't use any code to call the library yet, I just "import" the library, but a compiling failure occured.

The consule output looks like what #33 and #97 meet, I got error like "set local / connot open python312_d.dll / etc". By checking the other issues, I actually solved the problem by manually move some foleders and files like DLLs/Lib/include/python312_d.dll from my local python path to project path(%project path%\build\windows\x64\python), but I think there shoule be a correct way to compile an app -- an automatic way. I wonder whether there are some settings or process I can follow to compile the app automatically, many thx!

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