makerdao / cdp-keeper

Maker Keeper Framework: Keeper to actively manage open CDPs.
GNU Affero General Public License v3.0
28 stars 14 forks source link

ImportError: cannot import name 'coerce_return_to_text' from 'eth_utils' #6

Open ebadiere opened 5 years ago

ebadiere commented 5 years ago

After cloning the repository per the instructions I would like to become familiar with the code base. I tried to run the tests, ./test.sh and got the following:

Erics-MacBook-Pro-3:cdp-keeper ericbadiere$ ./test.sh ImportError while loading conftest '/Volumes/Seagate/projects/makerdao/cdp-keeper/tests/conftest.py'. tests/conftest.py:20: in from pymaker.deployment import Deployment lib/pymaker/pymaker/init.py:34: in from pymaker.util import synchronize lib/pymaker/pymaker/util.py:23: in from eth_utils import coerce_return_to_text, encode_hex E ImportError: cannot import name 'coerce_return_to_text' from 'eth_utils' (/Users/ericbadiere/anaconda3/lib/python3.7/site-packages/eth_utils/init.py)

Any guidance would be appreciated.

ebadiere commented 5 years ago

I was able to get by this issue by pulling in the latest pymaker:

git submodule update --remote lib/pymaker