Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #21

Open
ghost opened this issue Feb 18, 2019 · 3 comments
Open

Error #21

ghost opened this issue Feb 18, 2019 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 18, 2019

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
Copy link

AlconDivino commented Apr 3, 2019

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
Copy link

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

@eragamreddyvenkatasreekanthreddy

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants