FileNotFoundError: Cannot find scripts/deploy.py #1752
-
I have managed to compile the contract but when I do to deploy it brownie gives this error: FileNotFoundError: Cannot find scripts/deploy.py Earlier on it says this too: "/Users/NAME/.local/pipx/venvs/eth-brownie/lib/python3.10/site-packages/brownie/project/main.py:743: BrownieEnvironmentWarning: Loaded project has a root folder of '/Users/NAME/demos/brownie_fundme' which is different from the current working directory So im guessing the project has a seperate root folder from the CWD. But I cant find how to address this. Can anyone help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello, it seems you are no using the correct location at running the code on your console. |
Beta Was this translation helpful? Give feedback.
-
So i tried to unistall brownie so I could re install it. When I try to uninstall it says it isnt there. But also says that its in my path. Is that something to do with it? Should I leave it in the PATH or move it. And if so how do I move it. Thanks MacBook-Air-2 ~ % pip uninstall eth-brownie Usage: no such option: -b No apps associated with package brownie or its dependencies. If you are attempting to install a library, pipx should not be used. |
Beta Was this translation helpful? Give feedback.
Hello, it seems you are no using the correct location at running the code on your console.
Be sure to execute the code on the root project folder, remember you can navigate between folders using
cd
.Also please share a screen shot about how your project (folder and file) structure looks like.