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

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

Closed
Vimal1993 opened this issue May 9, 2024 · 3 comments

Comments

@Vimal1993
Copy link

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
Copy link
Member

mhsmith commented May 9, 2024

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
Copy link
Author

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
Copy link
Member

mhsmith commented May 10, 2024

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

@mhsmith mhsmith changed the title Caused by: com.chaquo.python.BuildPythonException BuildPythonException: Unable to create process using 'C:\Users\Vi\AppData\Local\Programs\Python\Python310\python.exe May 12, 2024
@mhsmith mhsmith closed this as completed Jun 3, 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

2 participants