[Solved] Trouble setting up Core-Node from Source

After git-cloning blockstack-core, and (finally) getting all the dependencies done, it is actually able to install but right after it gives me

File "~/.local/lib/python2.7/site-packages/blockstack_client/scripts.py", line 34, in <module>
    from virtualchain import tx_serialize, tx_deserialize, tx_script_to_asm, tx_output_parse_scriptPubKey
ImportError: cannot import name tx_serialize

I have already uninstalled and reinstalled virtualchain multiple times to make sure I was using the v20 and not the v0.14.0 which is found on pip, to no avail.

Any tips to keep debugging?

Something’s wrong with your ~/.local installation – the blockstack_client package hasn’t been part of Blockstack Core for a long time. Can you try this from a virtualenv?

After uninstalling everything from pip / pip2 and re-installing from source it worked fine.

Thanks for your help!

1 Like