raceback (most recent call last):
File "D:\Work\IDE\eclipse-jee-oxygen-R-win32-x86_64\eclipse\plugins\org.python.pydev_6.0.0.201709191431\pysrc\pydevd.py", line 1621, in
main()
File "D:\Work\IDE\eclipse-jee-oxygen-R-win32-x86_64\eclipse\plugins\org.python.pydev_6.0.0.201709191431\pysrc\pydevd.py", line 1615, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "D:\Work\IDE\eclipse-jee-oxygen-R-win32-x86_64\eclipse\plugins\org.python.pydev_6.0.0.201709191431\pysrc\pydevd.py", line 1022, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\Work\VM\Anaconda2\envs\A2ENV\Scripts\rqalpha.exe", line 1
SyntaxError: Non-ASCII character '\x90' in file D:\Work\VM\Anaconda2\envs\A2ENV\Scripts\rqalpha.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
1. RQAlpha 3.0.6
2. Python 2.7.14
3. Windows 10
4. 使用eclipse,pycharm调试buy_and_hold.py(参数没有问题),debug的时候如下错误,头部已经加入了utf-8的编码设置
5.
raceback (most recent call last): File "D:\Work\IDE\eclipse-jee-oxygen-R-win32-x86_64\eclipse\plugins\org.python.pydev_6.0.0.201709191431\pysrc\pydevd.py", line 1621, in
main()
File "D:\Work\IDE\eclipse-jee-oxygen-R-win32-x86_64\eclipse\plugins\org.python.pydev_6.0.0.201709191431\pysrc\pydevd.py", line 1615, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "D:\Work\IDE\eclipse-jee-oxygen-R-win32-x86_64\eclipse\plugins\org.python.pydev_6.0.0.201709191431\pysrc\pydevd.py", line 1022, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\Work\VM\Anaconda2\envs\A2ENV\Scripts\rqalpha.exe", line 1
SyntaxError: Non-ASCII character '\x90' in file D:\Work\VM\Anaconda2\envs\A2ENV\Scripts\rqalpha.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details