2
我运行的Python 3.5,并试图运行从this django app在命令行中一些代码,这已经发生的事情:导入错误:没有模块名为“multiprocessing.forking”
C:\Users\username\Envs\mysite> python service.py --startup=auto install
Traceback (most recent call last):
File "service.py", line 14, in <module>
from django_windows_tools.service import DjangoService,test_commands
File "C:\Users\username\AppData\Local\Programs\Python\Python35\lib\site-packages\django_windows_tools\service.py", line 39, in <module>
import multiprocessing.forking
ImportError: No module named 'multiprocessing.forking'
我真的不知道什么可能导致这一点。
解释如何在python3.4使用'multiprocessing.forking'起[https://github.com/pyinstaller/pyinstaller/wiki/Recipe-多处理](https://github.com/pyinstaller/pyinstaller/wiki/Recipe-Multiprocessing) – Gang