DimaKudosh / pydfs-lineup-optimizer

Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites
MIT License
424 stars 157 forks source link

“ValueError: max() arg is an empty sequence" #429

Closed oneupthedevil closed 5 months ago

oneupthedevil commented 5 months ago

After trying to run lineups; using

try: lineups = optimizer.optimize(n=num_lineups) except Exception as e: print(f"Error generating lineups: {e}") raise

And trying to #Print lineups using

Print lineups

for lineup in lineups: print(lineup)

I recieve "ValueError: max() arg is an empty sequence"

Cant figure out why? Any help would help