Closed happyshiller closed 5 years ago
在bitcoin-arbitrage目录下执行 python -m arbitrage.py xxxx 就行了。
@dorlan is right, you should run the program with python3 -m arbitrage
, please have a look at the README for more examples and information.
python -m arbitrage.py xxxx
didn't work for me.这个办法对我遇到的情况没有用。
but can change the arbitrage.py
name,Python will take from arbitrage import observers
as from arbitrage.py
import...,so rename arbitrage.py
to anything else can solve this problem
I'm new to Python. when i run the code at Debug model. it keeps showing following error message:
Traceback (most recent call last): File "c:\Users\zbn\Documents\LeShi\OnLineBusiness\Coin\python_work\bitcoin-arbitrage-maxme\arbitrage\arbitrage.py", line 9, in
from arbitrage.arbitrer import Arbitrer
File "c:\Users\zbn\Documents\LeShi\OnLineBusiness\Coin\python_work\bitcoin-arbitrage-maxme\arbitrage\arbitrage.py", line 9, in
from arbitrage.arbitrer import Arbitrer
ModuleNotFoundError: No module named 'arbitrage.arbitrer'; 'arbitrage' is not a package