Skip to content
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

Build failed after adding serious_python for Windows #116

Open
RalphGuo opened this issue Oct 25, 2024 · 0 comments
Open

Build failed after adding serious_python for Windows #116

RalphGuo opened this issue Oct 25, 2024 · 0 comments

Comments

@RalphGuo
Copy link

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!

@RalphGuo RalphGuo changed the title [Bug] Build failed after adding serious_python for Windows Build failed after adding serious_python for Windows Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant