O
O
Oleg2018-11-17 15:21:24
linux
Oleg, 2018-11-17 15:21:24

How to install WEB3 correctly?

I want to make a reservation, I'm new to Unix like this, but I'm developing.
The target system on which Linux Mint.19.x64 is installed.
The goal is to install WEB3.
Link to the repository https://github.com/ethereum/web3.py/blob/master/do...
As far as I understand, based on searches on the forums, the product from the repository only works with python v 3+. Maybe I'm wrong.
Where I started by executing the following commands

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6

Installing WEB3 is possible as far as I understand through PIP by running
pip install web3
Here it seemed to me that my dancing with a tambourine would end, but no.
I get that there is no pip and setuptools.
I install
sudo apt-get install python3-setuptools
sudo apt install python3-pip
pip install web3

Still does not work
I do what is provided by the developer of the repository
sudo apt-get install python3-venv
sudo apt-get install python3-dev
git clone https://github.com/ethereum/web3.py.git
cd web3.py
python3 -m venv venv
. venv/bin/activate

And at this step
pip install -e .[dev] (does not work at least, at the maximum I don’t know what it is at all)
The essence of the question is to tell how to install WEB3 through PIP or something else.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
klepiku, 2018-11-17
@olac239

on ubuntu everything came together there is a suspicion of ppa
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
try or install without ppa or change system

N
Nazar Mokrinsky, 2018-11-17
@nazarpc

If Python 3, then you most likely need to use and pip3instead ofpip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question