economic-modeling icon indicating copy to clipboard operation
economic-modeling copied to clipboard

please provide instructions to run simulation

Open kumavis opened this issue 8 years ago • 4 comments

I am not a pythonista. not sure what to do.

╭─kumavis@xyzs-MBP  ~/dev/eth-economic-modeling/casper3   (master*) 
╰─$ python test.py 
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    from casper import Validator
  File "/Users/kumavis/dev/eth-economic-modeling/casper3/casper.py", line 1, in <module>
    from ethereum.casper_utils import RandaoManager, get_skips_and_block_making_time, \
ImportError: No module named ethereum.casper_utils
╭─kumavis@xyzs-MBP  ~/dev/eth-economic-modeling/casper3   (master*) 
╰─$ python --version
Python 2.7.11

kumavis avatar Aug 12 '16 14:08 kumavis

did this ever get answered? same problem here.

cryptophonic avatar Feb 16 '17 22:02 cryptophonic

Run it with https://github.com/ethereum/pyethereum/commit/e8a4f7c.

janx avatar Feb 16 '17 23:02 janx

awesome, thanks for the input. will give that a shot.

cryptophonic avatar Feb 16 '17 23:02 cryptophonic

Following up on this, the commit above (e8a4f7c) worked for me against the tip for this repo as of today. @kumavis set your PYTHONPATH to the pyethereum repo directory after cloning that rev and it should work.

cryptophonic avatar Feb 17 '17 02:02 cryptophonic