如何在qpython中手动安装模块?

问题描述 投票:0回答:2

我使用qpython作为非root用户,我已经google了它,但所有建议不能手动和使用pip ...我一直在收到错误...

当我使用pip控制台的pip install requests和python控制台上的import pip pip.main(['install','requests'])时,我得到了错误:

错误是这样的:cannot fetch base url https://pypi.python.org/simple/ could not find any downloads that satisfy the condition requests ...

如果有解决方法或修复我会乐意接受...

pip qpython
2个回答
0
投票

您使用的是最新版本(> = 2.0.7)来自QPYPI的安装请求在最新版本中运行良好。 https://github.com/qpython-android/qpython/releases


0
投票

是!一旦我使用beta v2.1,这就解决了我的问题

https://github.com/qpython-android/qpython/releases

Google Play没有给我最新版本(我有1.xx)

我能够使用QPYPY来安装请求,它会自动安装所需的库urllib3。

© www.soinside.com 2019 - 2024. All rights reserved.