我是在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__
然後就一直卡在這裡,
請各位老師指點一下,已經困擾好幾天了,不勝感激
http://blog.csdn.net/lgy807720302/article/details/7515743
參考這個