Gekko-BacktestTool icon indicating copy to clipboard operation
Gekko-BacktestTool copied to clipboard

Having a problem installing

Open jonathanday930 opened this issue 7 years ago • 4 comments

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.

jonathanday930 avatar Jul 01 '18 00:07 jonathanday930

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 !

geeklimit avatar Jul 05 '18 22:07 geeklimit

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

CryptoCoeus avatar Aug 28 '18 08:08 CryptoCoeus

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

bebelune avatar Dec 28 '18 16:12 bebelune

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

Westoness avatar Sep 23 '19 11:09 Westoness