kkuette / TradzQAI

Trading environnement for RL agents, backtesting and training.
Apache License 2.0
164 stars 47 forks source link

Error #21

Open ghost opened 5 years ago

ghost commented 5 years ago

python run.py

Traceback (most recent call last): File "run.py", line 30, in from TradzQAI import Local_session as Session File "/home/desktop/Downloads/TradzQAI-master/TradzQAI/init.py", line 1, in from .core import Local_session File "/home/desktop/Downloads/TradzQAI-master/TradzQAI/core/init.py", line 1, in from .environnement import Local_env File "/home/desktop/Downloads/TradzQAI-master/TradzQAI/core/environnement/init.py", line 1, in from .local_env import Local_env File "/home/desktop/Downloads/TradzQAI-master/TradzQAI/core/environnement/local_env.py", line 1, in from TradzQAI.tools import act_processing File "/home/desktop/Downloads/TradzQAI-master/TradzQAI/tools/init.py", line 5, in from .utils import * File "/home/desktop/Downloads/TradzQAI-master/TradzQAI/tools/utils.py", line 22 SyntaxError: Non-ASCII character '\xe2' in file /home/desktop/Downloads/TradzQAI-master/TradzQAI/tools/utils.py on line 22, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

AlconDivino commented 5 years ago

I get the same Error when running with python

when running with python3 i get

Can not find Murmur3 hashing installed. Switching to SHA256 as the default hash. Refer to https://github.com/seperman/deepdiff#murmur3 for more info. Warning : the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses Traceback (most recent call last): File "run.py", line 38, in session.loadSession() File "/home/alcon/Desktop/TradzQAI/TradzQAI/TradzQAI/core/session/local.py", line 72, in loadSession self.initEnv() File "/home/alcon/Desktop/TradzQAI/TradzQAI/TradzQAI/core/session/local.py", line 103, in initEnv logger=self.logger, saver=self.saver, dataloader=self.dl) File "/home/alcon/Desktop/TradzQAI/TradzQAI/TradzQAI/core/environnement/local_env.py", line 84, in init self.dl.loadFile() File "/home/alcon/Desktop/TradzQAI/TradzQAI/TradzQAI/core/environnement/base/dataloader.py", line 170, in loadFile tmp_data, tmp_raw, tmp_time = self.getStockDataVec(self.files[self.files_index]) File "/home/alcon/Desktop/TradzQAI/TradzQAI/TradzQAI/core/environnement/base/dataloader.py", line 148, in getStockDataVec df.columns = names UnboundLocalError: local variable 'names' referenced before assignment

Nothing changed just installed dependencies and ra run.py

AlconDivino commented 5 years ago

When running python3 and a right formatted dataset it runs just fine now!

eragamreddyvenkatasreekanthreddy commented 5 years ago

traceback (most recent call last): file "run.py" line 2 in import local_session as session importerror: no module named local_session