Skip to content
This repository was archived by the owner on Mar 21, 2021. It is now read-only.
This repository was archived by the owner on Mar 21, 2021. It is now read-only.

deploy_contract_and_test.py gives this error  #1

@hmandora

Description

@hmandora

python3 deploy_contract_and_test.py

Traceback (most recent call last):
File "deploy_contract_and_test.py", line 32, in
compiled_sol = compile_source(contract_source_code)
File "/usr/local/lib/python3.6/dist-packages/solc/main.py", line 108, in compile_source
stdoutdata, stderrdata, command, proc = solc_wrapper(**compiler_kwargs)
File "/usr/local/lib/python3.6/dist-packages/solc/utils/string.py", line 85, in inner
return force_obj_to_text(fn(*args, **kwargs))
File "/usr/local/lib/python3.6/dist-packages/solc/wrapper.py", line 159, in solc_wrapper
stderr=subprocess.PIPE)
File "/usr/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'solc': 'solc'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions