-
Notifications
You must be signed in to change notification settings - Fork 102
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
SyntaxError: Non-ASCII character #166
Comments
After installing it again I noticed that after running: I don't know what that means but maybe someone knows. |
@123qweas pls try to exceute it as follwing: |
Yeah, try to |
Thanks for you help! Executing |
no module named 'js2py' simply means you have to install that particular module (js2py in this case) |
another thing to remember, if you install your modules with python3, you can't access them with python3.6 |
OK.
|
hey, the message is |
Hello,
if installed Japonicus as shown in the Wiki/Setup.
The installation went fine but when I tried to run Japonicus with:
python japonicus-run -g --strat MACD --repeat 100 -w
The output:
Traceback (most recent call last): File "japonicus-run", line 4, in <module> import japonicus File "/Users/gekko-stable/gekko/japonicus-master/japonicus/__init__.py", line 3, in <module> from .japonicus import * File "/Users/gekko-stable/gekko/japonicus-master/japonicus/japonicus.py", line 24 SyntaxError: Non-ASCII character '\xe2' in file /Users/gekko-stable/gekko/japonicus-master/japonicus/japonicus.py on line 25, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
I have Gekko (v0.6.7) as a server running (node web/server.js)and have history data downloaded.
I've took the same steps on two systems with the same error. (MacBook Pro and a Hackintosh)
I also reinstalled Gekko and Japonicus - same error.
The weblink in the error did not help me either.
Does anyone have an idea how to fix this?
The text was updated successfully, but these errors were encountered: