Traceback (most recent call last):


 "setup.py", line 48, in <module>

_export_version(VERSION, SHA)


 "setup.py", line 42, in _export_version

with open(version_path, 'w') as fileobj:
TypeError: expected str, bytes or os.PathLike object, not PosixPath

Traceback (most recent call last):


 "/Users/Night/anaconda3/envs/env0/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3265, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-2-452b872916a8>", line 1, in <module>

runfile('/Users/Night/Documents/Thesis-Experiment/LSTM-GA.py', wdir='/Users/Night/Documents/Thesis-Experiment')


 "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars)
# execute the script


 "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "/Users/Night/Documents/Thesis-Experiment/LSTM-GA.py", line 151, in <module>

main()


 "/Users/Night/Documents/Thesis-Experiment/LSTM-GA.py", line 144, in main

halloffame=hof, verbose=True)


 "/Users/Night/anaconda3/envs/env0/lib/python3.6/site-packages/deap/algorithms.py", line 318, in eaMuPlusLambda

offspring = varOr(population, toolbox, lambda_, cxpb, mutpb)


 "/Users/Night/anaconda3/envs/env0/lib/python3.6/site-packages/deap/algorithms.py", line 236, in varOr

ind1, ind2 = toolbox.mate(ind1, ind2)


 "/Users/Night/anaconda3/envs/env0/lib/python3.6/site-packages/deap/tools/crossover.py", line 109, in cxPartialyMatched

p1[ind1[i]] = i
TypeError: list indices must be integers or slices, not float
