chaquo / chaquopy

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

Process 'command 'py'' finished with non-zero exit value 1 #269

Closed helloworld3567 closed 4 years ago

helloworld3567 commented 4 years ago

Hello, I want to use the following packages on python using Chaquopy onAndroid Studio:

from PIL import Image import numpy import cv2 from operator import xor import pywt import soundfile as sf from scipy.fftpack import dct, idct

but I have an error like in the title "Process 'command 'py'' finished with non-zero exit value 1" and the code does not execute, can you confirm me please if these packages are available knowing that I use android studio 3.6.2 and chaquopy 7.0.2 and python 3.7

mhsmith commented 4 years ago

Please post the full build log, which you can see by opening the Build window and clicking the 'Build' caption at the top left.

helloworld3567 commented 4 years ago
1
helloworld3567 commented 4 years ago
2 3
mhsmith commented 4 years ago

PIL is obsolete: you should install "pillow" instead. The Python code can remain unchanged.

Many pip installation problems aren't Chaquopy-specific, so please try searching for the error message before posting here.