Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

twisted.internet.error.ReactorAlreadyInstalledError: reactor already installed [5804] Failed to execute script main

import kivy
kivy.require('1.9.1')

# fix for pyinstaller packages app to avoid ReactorAlreadyInstalledError
import sys
if 'twisted.internet.reactor' in sys.modules:
    del sys.modules['twisted.internet.reactor']

# install twisted reactor
from kivy.support import install_twisted_reactor
install_twisted_reactor()
Source by github.com #
 
PREVIOUS NEXT
Tagged: #reactor #installed #Failed #execute #script #main
ADD COMMENT
Topic
Name
3+6 =