Skip to content

Lesson 4 : AttributeError: type object 'Web3' has no attribute 'HTPProvider' #900

Answered by cromewar
wilonweb asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @NinjaTurtles-cloud you have a typo:
w3 = Web3(Web3.HTPProvider("http://127.0.0.1:7545")

The correct form is HTTP no HTPP, give it a try ;)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wilonweb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants