Chia-Network / chia-dev-tools

A utility for developing in the Chia ecosystem: Chialisp functions, object inspection, RPC client and more.
Apache License 2.0
45 stars 32 forks source link

error running chia dev tools #91

Closed forReason closed 1 year ago

forReason commented 1 year ago

I am following the instructions for installation on ubuntu. The chia blockchain is installed. Creating a virt env, run pip install, try cdv --version

get this error:

cdv --version
Traceback (most recent call last):
  File "/home/julian/chia-dev/venv/bin/cdv", line 5, in <module>
    from cdv.cmds.cli import main
  File "/home/julian/chia-dev/venv/lib/python3.10/site-packages/cdv/cmds/cli.py", line 14, in <module>
    from cdv.cmds.clsp import clsp_cmd
  File "/home/julian/chia-dev/venv/lib/python3.10/site-packages/cdv/cmds/clsp.py", line 13, in <module>
    from cdv.util.load_clvm import compile_clvm
  File "/home/julian/chia-dev/venv/lib/python3.10/site-packages/cdv/util/load_clvm.py", line 7, in <module>
    from chia.types.blockchain_format.program import Program, SerializedProgram
ImportError: cannot import name 'SerializedProgram' from 'chia.types.blockchain_format.program' (/home/julian/chia-dev/venv/lib/python3.10/site-packages/chia/types/blockchain_format/program.py)

on 2 separate machines

the path and file exists though

forReason commented 1 year ago

duplicate iof #90