giuse88 / duka

duka - Dukascopy historical data downloader
http://giuse88.github.io/duka
MIT License
302 stars 135 forks source link

No module named 'setuptools.wheel' when installing duka #30

Closed yomoko closed 6 years ago

yomoko commented 6 years ago

I got this error when trying to install duka.

Failed building wheel for duka

What's wrong with it? Please help. Thanks.

image

evianzhow commented 6 years ago

Are setuptools correctly installed on your system? From the traceback above, I can't get enough information. Please tell us more.

yomoko commented 6 years ago

@EvianZhow Yes. I am using Anaconda. Setuptools is installed by default.(setuptools (36.5.0.post20170921)). I tried to reinstall duka again. The error is gone(I don't know why). But I still can't use it somehow. As you see from the screenshot, after I import duka and entered duka -h, it says module not defined. So what went wrong? I am using 64 bit python. What other information to do you need? image

evianzhow commented 6 years ago

duka is a command-line tools. So I think import it as a library will not work.

yomoko commented 6 years ago

@EvianZhow What do you mean? Even if I don't import it, it's not usable, when I followed the instruction by entering duka -h OR duka EURUSD, for example, it didn't work. So what went wrong?

evianzhow commented 6 years ago

@yomoko What's your mean about 'didn't work'? Do you have a detailed traceback?

yomoko commented 6 years ago

@EvianZhow As you see from my screenshot, both duka and -h are not defined. So what's the correct way of using it or anything went wrong?

evianzhow commented 6 years ago

You are not typing under command line, from your screenshot, you are typing under Python REPL. Type duka related command into cmd or powershell if you are using Windows.

yomoko commented 6 years ago

@EvianZhow No wonder. Thanks. By the way, is it possible to change the candle time interval to New York time EST instead of default GMT?

evianzhow commented 6 years ago

That feature should be in the 2.1 release, but we encounter some issues, see #29 for more information.