Connect to the ethereum blockchain with python and web3.py:
All you need is(web3, infurakey)
-pip install web3
-infura.io for infura key
CodeWithJoe Offical SocialMedia Profiles:
Twitter: https://twitter.com/CodeWithJoe2
Github: https://github.com/CodeWithJoe2020
TelegramAnnouncement: https://t.me/codewithjoe1
TokenTuber: https://www.tokentuber.com/members/103281
Odysee.com: https://odysee.com/$/invite/@CodewithJoe:1
CodeWithJoe Token:🚀 https://bit.ly/3sy74p9
Buy Crypto on Binance (10$ for free): https://bit.ly/2NpiyMo
Bybit marginTrading 600$ Bonus: https://bit.ly/3sPTTku
Join Honey for huge discounts: https://bit.ly/3roPvrL
TorGuard VPN: https://bit.ly/3bfrC09
Homepage: https://codewithjoe.net
CodeWithJoe Apps: https://apps.codewithjoe.net
Crypto Credit Cards:
Bitpanda: https://bit.ly/308oblq
Cryptocom: https://bit.ly/3uKhbJH Get 25$ for free
BinanceCard: https://bit.ly/3bTJpcd
10 Comments
Amazing content. Thank you. Py dev in us
That is so interesting, I had no idea there was a web 3 package. Can you query other chains and their ledgers? nice video mate.
I tried installing web3 many times "pip install web3" but i always get error.
**SCAM NOTICE* No one contact the "Pinned by CodeWithJoe" with his WhatsApp address. He scammed me out of $300 by pretending to be the
real CodeWithJoe.
Hi there i keep getting this error ;/
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from web3 import Web3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'web3'
>>>
i am pretty sure i have web3 installed , when i do pip freeze it says this :
urllib3==1.25.8
varint==1.0.2
virtualenv==20.0.17
wadllib==1.3.3
wcwidth==0.1.8
web3==5.20.1
webencodings==0.5.1
websockets==9.1
Very good!
Fantastic video! Thank you brother
@13:00 Camel Toe Writing :). It's called camel case haha. Liking all these vids, thanks Joe
i got in some error installing web3. Is there any other thing to do before?
Hello.
Excuse me. what is wrong with me?
Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from web3 import web3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'web3' from 'web3' (C:UsersAdminAppDataLocalProgramsPythonPython310libsite-packagesweb3__init__.py)