yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.51k stars 826 forks source link

No module names 'Trading' when I run in docker... #181

Closed jackgreenwood30 closed 6 years ago

jackgreenwood30 commented 6 years ago

Hi, whenever I type docker run trader it always come with the message:

$ docker run trader Traceback (most recent call last): File "./trader.py", line 9, in from Trading import Trading ModuleNotFoundError: No module named 'Trading'

Can anyone help me out?

image image

image

elysium-12 commented 6 years ago

I get the same error on ubuntu 16.04

matiller commented 6 years ago

Same problem... On ubuntu 16.04...

sweetpythoncode commented 6 years ago

touch init.py in app dir

matiller commented 6 years ago

Sorry i didn’t get it, how do you mean it? Thanks for reply... ( i am total noob in these things)

matiller commented 6 years ago

I tried to touch init.py in app dir, I let it clear and it didn’t work...

matiller commented 6 years ago

Btw I’ve tried init.py too

piscue commented 6 years ago

I've created a PR for that: https://github.com/yasinkuyu/binance-trader/pull/214