Lesson 4: brownie init #508
Replies: 2 comments 5 replies
-
hello @CrispyButter brownie requires a empty folder to create a new project, so please create a new folder and create the project there. |
Beta Was this translation helpful? Give feedback.
-
I think it might be because I pip install cython and then pip install cytoolz after receiving the error below. and after installing those I THEN did pip install eth-brownie which worked. but then I ran into the original problem when trying to do brownie init. Any help or if I can set aside time for a video conference that would be awesome. I really want to move forward on the course ERROR: Command errored out with exit status 1: |
Beta Was this translation helpful? Give feedback.
-
I installed Brownie, ran brownie --version, and it retuned v1.16.4,
But I get a FileExistsError when trying to run brownie init. Any advice on fixing the below:
(venv) Trell@Kentrells-MacBook-Pro brownie % brownie --version
Brownie v1.16.4 - Python development framework for Ethereum
(venv) Trell@Kentrells-MacBook-Pro brownie % brownie
Brownie v1.16.4 - Python development framework for Ethereum
Usage: brownie [...] [options ]
Commands:
init Initialize a new brownie project
bake Initialize from a brownie-mix template
pm Install and manage external packages
compile Compile the contract source files
console Load the console
test Run test cases in the tests/ folder
run Run a script in the scripts/ folder
accounts Manage local accounts
networks Manage network settings
gui Load the GUI to view opcodes and test coverage
analyze Find security vulnerabilities using the MythX API
Options:
--help -h Display this message
--version Show version and exit
Type 'brownie --help' for specific options and more information about
each command.
(venv) Trell@Kentrells-MacBook-Pro brownie % brownie init
Brownie v1.16.4 - Python development framework for Ethereum
File "brownie/_cli/main.py", line 64, in main
importlib.import_module(f"brownie._cli.{cmd}").main()
File "brownie/_cli/init.py", line 31, in main
path = project.new(args[""] or ".", args["--force"], args["--force"])
File "brownie/project/main.py", line 584, in new
raise FileExistsError(f"Directory is not empty: {project_path}")
FileExistsError: Directory is not empty: /Users/Trell/demos/web3_py_simple_storage/demos/brownie_simple_storage/brownie
(venv) Trell@Kentrells-MacBook-Pro brownie %
Beta Was this translation helpful? Give feedback.
All reactions