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

    1. **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.

    2. 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

    3. 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)

    Leave A Reply
    Share via