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

Can't locate SQL/Dialects/AnyData.pm #62

Open D4mo opened 4 years ago

D4mo commented 4 years ago

Hi guys, i am trying to run a clean version, after first run it throws up an exception and it recommends to install sql::Dialects; but when i do that it is already installed, any ideas? Os: win 10 64bit

Full error:

[2020-08-05 12:47:25] Creating ALL RESULTS table (sorted profit/day)... Can't locate SQL/Dialects/AnyData.pm in @INC (you may need to install the SQL::Dialects::AnyData module) (@INC contains: C:\Users\damia\AppData\Local\Temp\par-64616d6961\temp-12736\inc\lib C:\Users\damia\AppData\Local\Temp\par-64616d6961\temp-12736\inc CODE(0x39e4580) CODE(0x39e4778)) at SQL/Parser.pm line 325. at DBI/DBD/SqlEngine.pm line 517. Can't locate SQL/Dialects/AnyData.pm in @INC (you may need to install the SQL::Dialects::AnyData module) (@INC contains: C:\Users{}\AppData\Local\Temp\par-64616d6961\temp-12736\inc\lib C:\Users{}\AppData\Local\Temp\par-64616d6961\temp-12736\inc CODE(0x39e4580) CODE(0x39e4778)) at SQL/Parser.pm line 325. at SQL/Statement.pm line 74. DBD::CSV::db prepare failed: Can't inject SQL::Dialects::Role into SQL::Dialects::AnyData: Can't locate SQL/Dialects/Role.pm in @INC (you may need to install the SQL::Dialects::Role module) (@INC contains: C:\Users{}\AppData\Local\Temp\par-64616d6961\temp-12736\inc\lib C:\Users{}\AppData\Local\Temp\par-64616d6961\temp-12736\inc CODE(0x39e4580) CODE(0x39e4778)) at (eval 82) line 3. BEGIN failed--compilation aborted at (eval 82) line 3. at SQL/Statement.pm line 74. [for Statement "SELECT currency, asset, strategy, profit_, profit_market, profitday, trades_day, best_win, worst_loss, avg_HODLmin, avg_price, overall_trades_day, volume_day FROM tmp\tmp_dataw4nqt.csv"] at script/backtest.pl line 158. DBD::CSV::db prepare failed: Can't inject SQL::Dialects::Role into SQL::Dialects::AnyData: Can't locate SQL/Dialects/Role.pm in @INC (you may need to install the SQL::Dialects::Role module) (@INC contains: C:\Users{}\AppData\Local\Temp\par-64616d6961\temp-12736\inc\lib C:\Users{}\AppData\Local\Temp\par-64616d6961\temp-12736\inc CODE(0x39e4580) CODE(0x39e4778)) at (eval 82) line 3. BEGIN failed--compilation aborted at (eval 82) line 3. at SQL/Statement.pm line 74. [for Statement "SELECT currency, asset, strategy, profit_, profit_market, profitday, trades_day, best_win, worst_loss, avg_HODLmin, avg_price, overall_trades_day, volume_day FROM tmp\tmp_dataw4nqt.csv"] at script/backtest.pl line 158.