Skip to content

Lesson 5: Brownie Test Issue #420

Answered by cromewar
ID-Mahone asked this question in Q&A
Nov 22, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hello @Maninng it says that you have an indentation error which means some part of your code is not correctly formatted, use Shift + Option + F on Mac to Format the code properly, also pay attention to the import statement indentation as the error describes, if you can see on your screenshot you have a space " " just before the word import.

Regarding to the brownie error, this is because python vscode extension is incapable to recognize packages installed with pipx, you can delete eth-brownie and pipx, and install it again using just pip.

Give it a try, best regards Cromewar.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ID-Mahone
Comment options

You must be logged in to vote
3 replies
@cromewar
Comment options

@ID-Mahone
Comment options

@cromewar
Comment options

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