README.python 1.1 KB

123456789101112131415161718192021222324252627
  1. # If you run into crashing when running addons, the problem is with the
  2. # python3 version that was released with 15.0 (3.9.12). This has been
  3. # fixed in a newer release, but it hasn't made it to 15.0 yet. You can
  4. # either deal with the crashes and wait until it's updated in 15.0 or
  5. # build your own updated package using the newer source tarball. The
  6. # instructions to do that are below.
  7. # NOTE: This README has been designed to allow you to run it as root
  8. # and have it build and upgrade the python3 package.
  9. # Run at your own risk.
  10. #
  11. # As root:
  12. # sh /usr/doc/kodi-19.4/README.python
  13. lftp -c "mirror -e -X *.tar.xz* -X *.tar.bz2 https://mirror.slackbuilds.org/slackware/slackware64-15.0/source/d/python3/"
  14. cd python3
  15. # Remove older versions then download newer ones
  16. wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tar.xz
  17. wget https://docs.python.org/3.9/archives/python-3.9.13-docs-text.tar.bz2
  18. # Run the SlackBuild
  19. BUILD=1_bass sh python3.SlackBuild
  20. # Install the newer package
  21. upgradepkg --reinstall --install-new /tmp/python3-3.9.13-*-1_bass.txz