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

I tried to deploy this project on QPython, but I ran into some trouble #95

Open
qiaoranMC opened this issue Feb 12, 2024 · 1 comment
Open
Assignees

Comments

@qiaoranMC
Copy link

I need to run this project on QPython,However, there seems to be some problems when installing the dependency
I tried to deploy this project on my mobile phone, but I failed
error message
Input pip commands, ie: pip install {module} OR pip help -->pip install azure-ai-resources azure-identity pandas dotenv openai
Looking in indexes: https://pypi.org/simple/, https://mirrors.bfsu.edu.cn/pypi/web/simple, http://pypi3.qpython.org/simple, https://pypi.tuna.tsinghua.edu.cn/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='pypi3.qpython.org', port=80): Read timed out. (read timeout=15)")': /simple/azure-ai-resources/
Collecting azure-ai-resources
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5b/56/da438497337488baccc7da6a040bc180c26a2e0b46f759d00d1c51747601/azure_ai_resources-1.0.0b7-py3-none-any.whl (748 kB)
━━━━━━━━━━ 748.9/74… 2.9 MB/s eta 0:00:00
kB
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='pypi3.qpython.org', port=80): Read timed out. (read timeout=15)")': /simple/azure-identity/
Collecting azure-identity
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/30/10/5dbf755b368d10a28d55b06ac1f12512a13e88874a23db82defdea9a8cd9/azure_identity-1.15.0-py3-none-any.whl (164 kB)
━━━━━━━━━━ 164.7/16… 9.8 MB/s eta 0:00:00
kB
Collecting pandas
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/03/d2/6fb05f20ee1b3961c7b283c1f8bafc6de752155d075c5db61c173de0de62/pandas-2.2.0.tar.gz (4.4 MB)
━━━━━━━━━━ 4.4/4.4 3.9 MB/s eta 0:00:00
MB
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [114 lines of output]
Looking in indexes: https://pypi.org/simple/, https://mirrors.bfsu.edu.cn/pypi/web/simple, http://pypi3.qpython.org/simple, https://pypi.tuna.tsinghua.edu.cn/simple
Collecting meson-python==0.13.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9f/af/5f941f57dc516e72b018183a38fbcfb018a7e83afd3c756ecfba82f21c65/meson_python-0.13.1-py3-none-any.whl (79 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 650.4 kB/s eta 0:00:00
Collecting meson==1.2.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e5/74/a1f1c6ba14e11e0fb050d2c61a78b6db108dd38383b6c0ab51c1becbbeff/meson-1.2.1-py3-none-any.whl (962 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 962.5/962.5 kB 3.8 MB/s eta 0:00:00
Collecting wheel
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 5.4 MB/s eta 0:00:00
Collecting Cython==3.0.5
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/fb/fe/e213d8e9cb21775bb8f9c92ff97861504129e23e33d118be1a90ca26a13e/Cython-3.0.5-py2.py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 4.5 MB/s eta 0:00:00
Collecting numpy<=2.0.0.dev0,>1.22.4
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz (15.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 5.8 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: still running...
Installing backend dependencies: finished with status 'error'
error: subprocess-exited-with-error

    × pip subprocess to install backend dependencies did not run successfully.
    │ exit code: 1
    ╰─> [73 lines of output]
        Looking in indexes: https://pypi.org/simple/, https://mirrors.bfsu.edu.cn/pypi/web/simple, http://pypi3.qpython.org/simple, https://pypi.tuna.tsinghua.edu.cn/simple
        Collecting patchelf>=0.11.0
          Downloading http://pypi3.qpython.org/repository/2559648/patchelf-0.18.0.0.tar.gz (356 kB)
             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 356.5/356.5 kB 177.6 kB/s eta 0:00:00
          Installing build dependencies: started
          Installing build dependencies: finished with status 'done'
          Getting requirements to build wheel: started
          Getting requirements to build wheel: finished with status 'done'
          Preparing metadata (pyproject.toml): started
          Preparing metadata (pyproject.toml): finished with status 'done'
        Collecting ninja>=1.8.2
          Downloading https://pypi.tuna.tsinghua.edu.cn/packages/37/2c/d717d13a413d6f7579cdaa1e28e6e2c98de95461549b08d311c8a5

I hope this defect can be solved,I don't want to go to too much trouble to deploy it on the computer
Thanks, guys!

@needuv
Copy link
Member

needuv commented Mar 5, 2024

Hi @qiaoranMC, curious to get more information on your setup. Is there a particular reason why you are using QPython on Android?

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