How do I install modules on qpython3 (Android port

2020-02-09 03:36发布

I found this great module on within and downloaded it as a zip file. Once I extracted the zip file, i put the two modules inside the file(setup and the main one) on the module folder including an extra read me file I needed to run. I tried installing the setup file but I couldn't install it because the console couldn't find it. So I did some research and I tried using pip to install it as well, but that didn't work. So I was wondering if any of you could give me the steps to install it manually and with pip (keep in mind that the setup.py file needs to be installed in order for the main module to work).

Thanks!

3条回答
The star\"
2楼-- · 2020-02-09 04:18

The cleanest and simplest way I have found is to use pip from within QPython console as in This Answer

import pip
pip.main(['install', 'networkx'])
查看更多
别忘想泡老子
3楼-- · 2020-02-09 04:20

Extract the zip file to the site-packages folder. Find the qpyplus folder in that Lib/python3.2/site-packages extract here that's it.Now you can directly use your module from REPL terminal by importing it.

查看更多
Luminary・发光体
4楼-- · 2020-02-09 04:25

Step1: Install QPython.

Step2: Install AIPY for QPython.

Step3: Then go to QPython-->QPYPI-->AIPY and install from there Numpy, SciPy, Matplotlib, openCV etc.

查看更多
登录 后发表回答