xFFFFF / Gekko-BacktestTool

Batch backtest, import and strategy params optimalization for Gekko Trading Bot. With one command you will run any number of backtests.
MIT License
231 stars 85 forks source link

Having a problem installing #34

Open jonathanday930 opened 6 years ago

jonathanday930 commented 6 years ago

Whenever I try to install and run this I get the following error:

pi@raspberrypi:~/gekko $ perl backtest.pl Can't locate LWP/Protocol/https.pm in @INC (you may need to install the LWP::Protocol::https module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at backtest.pl line 28. BEGIN failed--compilation aborted at backtest.pl line 28.

I am running this on a raspberry pi. I have already installed all the dependencies as directed.

geeklimit commented 6 years ago

Same here - have tried for a few days on both Raspberry Pi Zero W (With Raspbian Stretch Lite and DietPi) and Debian Stretch on a Google Cloud Compute VM and cannot get the perl prerequisites installed. Ultimately, it comes for to a prereq for LWP::Protocol::https being Net:SSLeay, and Net:SSLeay not being installable on any of the OSes I've tried.

Time::Elapsed gave me issues as well under cpanm, but somewhere between using cpanm vs. cpan and installing it via apt, that one got sorted. out.

Just about went crazy trying to get it to work, any insight would be greatly appreciated. @xFFFFF !

CryptoCoeus commented 6 years ago

I believe you haven't installed the dependencies..

If you haven't done the following please do and let me what happened..

You should run this command in your cmd.exe : cpan install Parallel::ForkManager Time::Elapsed Getopt::Long List::MoreUtils File::chdir Statistics::Basic DBI DBD::SQLite JSON::XS TOML File::Basename File::Find::Wanted Template LWP::UserAgent LWP::Protocol::https Set::CrossProduct DBD::CSV Text::Table File::Copy

bebelune commented 5 years ago

I have the same problem. All is installed only LWP::Protocol::https is not ok. do you have any wait to fix this? Thx

Westoness commented 5 years ago

I found the solution by installing it through apt get with the following command "apt-get install libwww-perl"