python3运行错误,求解,mac OS X系统

用户kat4qouw9f 发布于 2015/09/24 09:27
阅读 487
收藏 1
Process (2646) start...
I (2646) just created a child process (2647).
I am child process (2647) and my parent is 2646.
Traceback (most recent call last):
  File "webApp.py", line 5, in <module>
    import asyncio, os, json, time
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/__init__.py", line 21, in <module>
    from .base_events import *
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/__init__.py", line 17, in <module>
    from concurrent.futures.process import ProcessPoolExecutor
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/process.py", line 54, in <module>
Traceback (most recent call last):
  File "webApp.py", line 5, in <module>
    from multiprocessing import SimpleQueue
ImportError: cannot import name 'SimpleQueue'
    import asyncio, os, json, time
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/__init__.py", line 21, in <module>
    from .base_events import *
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/__init__.py", line 17, in <module>
    from concurrent.futures.process import ProcessPoolExecutor
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/process.py", line 54, in <module>
    from multiprocessing import SimpleQueue
ImportError: cannot import name 'SimpleQueue'
加载中
0
一直磨刀
确定运行环境是3?
用户kat4qouw9f
用户kat4qouw9f
在终端里直接使用 python3命令 运行的
返回顶部
顶部