请问Python出现了一个异常卡在那里不动了
Python出现了一个异常卡在那里不动了
pythonnode
我是在win8上面操作,运行一个Python项目
Python:2.7
node:0.12
npm:2.11
vs:2012
输入run all(这个是自己定义的命令,用于启动项目) 后出现:
2015-08-25 22:13:47 [24784] [WARNING] Your terminal is not configured to receive
UTF-8 encoded text. Please adjust your locale settings or force UTF-8 output by
setting PYTHONIOENCODING="utf-8".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Python27\Lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\Python27\Lib\multiprocessing\forking.py", line 488, in prepare
assert main_name not in sys.modules, main_name
AssertionError: __main__
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Python27\Lib\multiprocessing\forking.py", line 380, in main
prepare(preparation_data)
File "C:\Python27\Lib\multiprocessing\forking.py", line 488, in prepare
assert main_name not in sys.modules, main_name
AssertionError: __main__
然后就一直卡在这里,
请老师指点一下,已经困扰好几天了,不胜感激