You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
RalphGuo
changed the title
[Bug] Build failed after adding serious_python for Windows
Build failed after adding serious_python for Windows
Oct 26, 2024
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!
The text was updated successfully, but these errors were encountered: