tokenika / eosfactory

Python-based EOS smart-contract development & testing framework
http://eosfactory.io/
Other
243 stars 62 forks source link

Can't install eosfactory #145

Closed thekevinbrown closed 5 years ago

thekevinbrown commented 5 years ago

Trying to install EOSFactory results in this in the output:

Configuring the eosfactory installation...

Traceback (most recent call last):
  File "eosfactory/install.py", line 18, in <module>
    install()
  File "eosfactory/install.py", line 13, in install
    config.set_contract_workspace_dir()
AttributeError: module 'eosfactory.core.config' has no attribute 'set_contract_workspace_dir'
NOTE!
The version of the installed 'eosio' package is 1.6.2 while the expected
version is 1.6.0

Then when I try to run python3 tests/hello_world.py to see if it worked, I get this:

$ python3 tests/hello_world.py
NameError: name 'MasterAccount' is not defined

Especially since brew won't let you install old versions, it'd be great if it could be a bit more forgiving on its versions that it works with. How should I get this installed?

stefanzarembinski commented 5 years ago

The version difference is not a problem here: EOSFactory just notes the fact. Please, try the newest version v3.0.2.

thekevinbrown commented 5 years ago

This was with version 3.0.2.

Even if I worked through this, I now realise I'd be blocked on #149, so I'll go ahead and close this because there's not much point in working through it until the tool works with multiple contracts.

stefanzarembinski commented 5 years ago

Please, do

 python3 -m eosfactory.config

Let me know the result.