omgnetwork / plasma-mvp

OmiseGO's research implementation of Minimal Viable Plasma
MIT License
561 stars 158 forks source link

where is plasma.config? #156

Closed hot3246624 closed 6 years ago

hot3246624 commented 6 years ago

when i excuted omg xxx, there is an error: ModuleNotFoundError: No module named 'plasma.config'

the detail is: Traceback (most recent call last): File "/Users/huangzhiyong/anaconda3/bin/omg", line 11, in load_entry_point('plasma==0.0.0', 'console_scripts', 'omg')() File "/Users/huangzhiyong/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 480, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Users/huangzhiyong/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2691, in load_entry_point return ep.load() File "/Users/huangzhiyong/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2322, in load return self.resolve() File "/Users/huangzhiyong/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2328, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/Users/huangzhiyong/anaconda3/lib/python3.6/site-packages/plasma-0.0.0-py3.6.egg/plasma/cli/init.py", line 1, in from .cli import cli # Noqa F401 File "/Users/huangzhiyong/anaconda3/lib/python3.6/site-packages/plasma-0.0.0-py3.6.egg/plasma/cli/cli.py", line 6, in from plasma.client.client import Client File "/Users/huangzhiyong/anaconda3/lib/python3.6/site-packages/plasma-0.0.0-py3.6.egg/plasma/client/client.py", line 7, in from plasma.config import plasma_config ModuleNotFoundError: No module named 'plasma.config'

smartcontracts commented 6 years ago

Hey! Thanks for the bug report. I've gone ahead and submitted a PR that I believe fixes the issue.