How to install library with pip-console?

北战南征 提交于 2019-12-22 11:05:25

问题


I downloaded some python library package (for example uncompile2) from GitHub. How I can install it into Qpython from the directory in my android device with pip-console? Or at least to try install...


回答1:


You could install it directly through pip console, just type "pip install "

Or, you can make a .sh file with contents

python /your/path/to/the/package/setup.py install

Or at least I think so.




回答2:


You could copy the modules you want installed into the site-packages folder

using a file manager open up the folder:
/sdcard/com.hipipal.qpyplus/lib/python2.7/site-packages/
that is where you can put the modules, i have not tried it with the pip console.



来源:https://stackoverflow.com/questions/31526259/how-to-install-library-with-pip-console

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!