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
From that, I noticed that the cache folder (null/.dartpip...) was created in the root of the project and the openpyxl files were extracted there. However, its dependency (et-xmlfile) was not downloaded. Also, none of those files were included under python-modules folder.
Flutter Doctor:
PS C:\Users\[...]\Programming\python_ffi_poc> flutter doctor -v
[✓] Flutter (Channel stable, 3.13.2, on Microsoft Windows [Version 10.0.22621.2134], locale pt-BR)
• Flutter version 3.13.2 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
• Engine revision b20183e040
• Dart version 3.1.0
• DevTools version 2.25.0
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✗] Android toolchain - develop for Android devices
✗ ANDROID_HOME = C:\Users\[...]\AppData\Local\Android\Sdk
but Android SDK not found at this location.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.5)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.31729.503
• Windows 10 SDK version 10.0.19041.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[✓] VS Code, 64-bit edition (version 1.81.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.46.0
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.2134]
• Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.141
• Edge (web) • edge • web-javascript • Microsoft Edge 116.0.1938.69
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.
The text was updated successfully, but these errors were encountered:
Yes, this is to be expected, unfortunately.
I intentionally develop this project first on macOS, and once I have it working on that platform, I start porting things to Windows and Linux.
At this point in time, the project requires a custom Python compilation which I haven't done for Windows. Thus caching the Python runtime fails, since it doesn't exist yet. As indicated in the Readme Windows support is declared as "sometimes works on my machine". This is very experimental. See also the discussion in #7.
Yes, this is to be expected, unfortunately.
I intentionally develop this project first on macOS, and once I have it working on that platform, I start porting things to Windows and Linux.
At this point in time, the project requires a custom Python compilation which I haven't done for Windows. Thus caching the Python runtime fails, since it doesn't exist yet. As indicated in the Readme Windows support is declared as "sometimes works on my machine". This is very experimental. See also the discussion in #7.
Yes, I found that information in the README. I was hoping that maybe it would work in mine as well.
I've seen #7, but as error messages were different and there was no other information provided, I decided to report my case
Thank you for reporting this.
The null\.dartpip… cache location is definitely something I haven't seen yet. Will resolve it when working on Windows again.
Any updates or workaround for this issue? I am getting the same PythonFfiException: Failed to cache Python runtime for version 3.11.3 on windows error in Windows environment.
When trying to run the command
dart run dartpip install
on Windows 11, an exception was thrown:Note: I do have Python 3.11.5 installed on the PC and I'm using the latest GitHub updates of the repo (
main
branch).So, I decided to try to use the
download
command first, and then thebundle
command:From that, I noticed that the cache folder (
null/.dartpip...
) was created in the root of the project and theopenpyxl
files were extracted there. However, its dependency (et-xmlfile
) was not downloaded. Also, none of those files were included underpython-modules
folder.Flutter Doctor:
The text was updated successfully, but these errors were encountered: