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