chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
748 stars 127 forks source link

BuildPythonException: Unable to create process using 'C:\Users\Vi\AppData\Local\Programs\Python\Python310\python.exe #1151

Closed Vimal1993 closed 3 weeks ago

Vimal1993 commented 1 month ago

Unable to create process using 'C:\Users\Vi\AppData\Local\Programs\Python\Python310\python.exe -m chaquopy.pip_install --target F:\project\Vi\app\build\python\pip\debug --android-abis arm64-v8a armeabi-v7a --min-api-level 21 --req Pillow -- --disable-pip-version-check --extra-index-url https://chaquo.com/pypi-13.1 --implementation cp --python-version 3.8.18 --abi cp38 --no-compile'

Chaquopy version

com.chaquo.python:gradle:15.0.1

Relevant parts of your code

python { pip { install 'Pillow' } }

mhsmith commented 1 month ago

Since your app uses Python 3.8 (which is the default in this version of Chaquopy), try downloading Python 3.8 from python.org and installing it with the default settings.

If that doesn't help, please post the full build log. You can display it by clicking the “Build: failed” caption to the left of the message

Vimal1993 commented 1 month ago

python { version "3.12" }

python { pip { install 'pillow' install 'rembg' } }

chaquopy { defaultConfig { buildPython("C:/Users/Vi/AppData/Local/Programs/Python/Python312/python.exe") buildPython("C:/Windows/py.exe", "-3.12") } }

image

mhsmith commented 1 month ago

See #216, and in future please search the existing issues before asking for help.