Closed ys31jp closed 2 years ago
it happened if the ndk include "x86_64" and 'armeabi-v7a'
ndk { abiFilters 'arm64-v8a', 'x86' //, "x86_64"'armeabi-v7a', }
if commented on the 2, it builds successfully.
Thanks for the report. I haven't seen this before, and I can't reproduce it myself.
Can you post the Python-related sections of your build.gradle file?
This is the longest filename in the scikit-learn package, so my first thought was that this might be the Windows 260-character filename limit. But the filename in the error message has a total length of only about 200 characters. Is the path to your app really C:\Users\user\Documents\test\android
, or did you replace it with something else for privacy? Either way, it's worth trying to move your project to a location with a shorter path, like directly under your user directory.
If that doesn't help, check whether there's any sign that your anti-virus software has been triggered.
Thanks for the report. I haven't seen this before, and I can't reproduce it myself.
Can you post the Python-related sections of your build. Gradle file?
This is the longest filename in the scikit-learn package, so my first thought was that this might be the Windows 260-character filename limit. But the filename in the error message has a total length of only about 200 characters. Is the path to your app really
C:\Users\user\Documents\test\android
, or did you replace it with something else for privacy? Either way, it's worth trying to move your project to a location with a shorter path, like directly under your user directory.If that doesn't help, check whether there's any sign that your anti-virus software has been triggered.
Hi, I have checked it and i was caused by the length of the directories and filename. It builed successfully after I change the directories name to shortest.
Thanks a lot for your help.
Chaquopy version: 12.0.0
Python version: 3.8.13
Relevant parts of your build.gradle file
scikit-learn-0.24.1
Describe your issue
FileNotFoundError: [WinError 3] The system cannot find the path specified: android\app\build\pip\debug\armeabi-v7a\sklearn\datasets\tests\data\openml\292\api-v1-json-data-list-data_name-australian-limit-2-data_version-1-status-deactivated.json.gz'
left side of the images is folder on the Android studio. Meanwhile, on the right side is anaconda environment build with pip.