user83693: I'm trying to use the genesis script from innova to generate a genesis block of Xevan_hash
https://github.com/innovacoin/GenesisH0/blob/master/genesis.py
I'm using these parameters:
python genesis.py -a xevan_hash -z "a news string" -p "myprivate key"
and I always get this error:
Traceback (most recent call last):
  File "genesis.py", line 224, in <module>
    main()
  File "genesis.py", line 15, in main
    tx = create_transaction(input_script, output_script, options)
  File "genesis.py", line 74, in create_transaction
    Bytes("version", 4),
TypeError: __init__() takes exactly 2 arguments (3 given)


user83534: Run the following command in your terminal:
pip install construct==2.5.2
Then try to run the python script again.

83693: <p>I'm trying to use the genesis script from innova to generate a genesis block of Xevan_hash</p>

<p><a href="https://github.com/innovacoin/GenesisH0/blob/master/genesis.py" rel="nofollow noreferrer">https://github.com/innovacoin/GenesisH0/blob/master/genesis.py</a></p>

<p>I'm using these parameters:
python genesis.py -a xevan_hash -z "a news string" -p "myprivate key"</p>

<p>and I always get this error:</p>

<pre><code>Traceback (most recent call last):
  File "genesis.py", line 224, in &lt;module&gt;
    main()
  File "genesis.py", line 15, in main
    tx = create_transaction(input_script, output_script, options)
  File "genesis.py", line 74, in create_transaction
    Bytes("version", 4),
TypeError: __init__() takes exactly 2 arguments (3 given)
</code></pre>
 83534: <p>Run the following command in your terminal:</p>

<p>pip install construct==2.5.2</p>

<p>Then try to run the python script again.</p>
