PatrickAlphaC / brownie_simple_storage

25 stars 32 forks source link

folder name 'web3' gives error #17

Closed mekhiya closed 2 years ago

mekhiya commented 2 years ago

Can you please explain why it gives error in first case :

Case 1) first created brownie project at location /f/web3/brownie_simple_storage

brownie run scripts\deploy.py

throws error ModuleNotFoundError: No module named 'web3.brownie_simple_storage'

error-message

Case 2) changed name of the folder from "web3" to "web3-projects"

/f/web3-projects/brownie_simple_storage

brownie run scripts\deploy.py

ALL WORKS FINE.

I wasted so much time on this, just found this by flook.

How does naming folder name to web3, cause problem ?????

PatrickAlphaC commented 2 years ago

Can you please ask on the main repo? Thanks!

https://github.com/smartcontractkit/full-blockchain-solidity-course-py