Installing python modules like “Web3” without pip/pip3?

笑着哭i 提交于 2019-12-13 03:33:01

问题


I have an armv7 embedded device. There is a yocto linux running on this device. There is no pip installed in it so i cannot install web3 using ..

pip install web3

How can i install web3 or any python module without using pip?

I have tried searching the recipe of web3.py but couldnt find any. Can i cross compile the web3 module? how to do that? how can build from source work for this module? what about the other dependencies required for it?

I am not a full time linux or python deveopler so please tell me about the first step i need to follow?

Thanks!


回答1:


You can just download the module (web3 folder from the repo), put it in your project directory and import it (so you can use it).

The problem is that the module can have some dependencies on other modules, so the problem is not resolved.

I think that the best solution for you is download and install pip from source.



来源:https://stackoverflow.com/questions/57039987/installing-python-modules-like-web3-without-pip-pip3

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