Replies: 3 comments 11 replies
-
Hello there, please share the code you are using to deploy and also try using a different python version on a virtualenv, thanks. |
Beta Was this translation helpful? Give feedback.
-
When starting this lesson please first clone the file from the repository as described here: https://github.com/PatrickAlphaC/web3_py_simple_storage You need to read the Readme, hence the name. https://github.com/PatrickAlphaC/web3_py_simple_storage#readme Try to run this first, and then start creating your own version, if your version doesn't run, compare it carefully with the provided and running version from the repo before asking a question. As long as the repo version runs on your computer and your file doesn't you will have a simple typo or something you can fix yourself. |
Beta Was this translation helpful? Give feedback.
-
Hey @Arcangel505 try using full path I sometimes face same problem.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey I am at that point when supposed to call "python deploy.py"
I've corrected the video issue
"from solcx import compile_standard, install_solc
install_solc("0.6.0") "
Yet the terminal returns me this, any idea on how could I get the same result as on tne video ?
Thx :)
Traceback (most recent call last):
File "C:\Users\Utilisateur\demos\web3_py_simple_storage\deploy.py", line 10, in
compiled_sol = compile_standard(
File "C:\Users\Utilisateur\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\solcx\main.py", line 375, in compile_standard
stdin=json.dumps(input_data),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1008.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 231, in dumps
return _default_encoder.encode(obj)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1008.0_x64__qbz5n2kfra8p0\lib\json\encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
oftwareFoundation.Python.3.10_3.10.1008.0_x64__qbz5n2kfra8p0\lib\json\encoder.py", line 179, in default raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type set is not JSON serializable
Beta Was this translation helpful? Give feedback.
All reactions