Galts-Gulch / avarice

Multi-Indicator Python3 OKCoin CN & Intl Trading Bot/Infrastructure
Other
91 stars 29 forks source link

First run #2

Closed ppls12 closed 9 years ago

ppls12 commented 9 years ago

Hi,

thanks for sharing Avarice! I hope this is the correct place for my question:

I tried to run it under Ubuntu 14.04 and get this shell output:

$ python avarice.py Traceback (most recent call last): File "avarice.py", line 5, in import indicators File "/home/mike/Arbeitsfläche/ava/indicators.py", line 5, in import loggerdb as ldb File "/home/mike/Arbeitsfläche/ava/loggerdb.py", line 7, in import exchangelayer File "/home/mike/Arbeitsfläche/ava/exchangelayer.py", line 8, in import okcoin_api File "/home/mike/Arbeitsfläche/ava/okcoin_api.py", line 11, in import urllib.error ImportError: No module named error

Do you know any advice?

Thanks

RealJohnGalt commented 9 years ago

Hi ppls12, I know this is a very late response, but it looks like you're using python 2 there instead of python 3. Please run python --version to verify, and check that python3 is installed. If so, you can run it with "python3" instead of "python" without changing defaults.

ppls12 commented 9 years ago

thx, for your response. Yes it worked, I really used python 2!  

Gesendet: Montag, 12. Januar 2015 um 04:10 Uhr Von: "John Galt" notifications@github.com An: Galts-Gulch/avarice avarice@noreply.github.com Cc: ppls12 ppls@gmx.de Betreff: Re: [avarice] First run (#2)

Hi ppls12, I know this is a very late response, but it looks like you're using python 2 there instead of python 3. Please run python --version to verify, and check that python3 is installed. If so, you can run it with "python3" instead of "python" without changing defaults.

— Reply to this email directly or view it on GitHub.

 

RealJohnGalt commented 9 years ago

Glad it worked out for you. Since this issue's taken care of, I'm going to close it. If you find any other issues, feel free to open a new issue here.