View Single Post
Old 12-15-2021, 10:33 PM   #1
yparitcher
Connoisseur
yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.
 
Posts: 52
Karma: 616590
Join Date: Feb 2019
Device: K4 KT4 PW4 PW5
Python3: Install 3rd party modules

To install 3rd party modules on your Kindle:

This leverages python's crossenv package

Your system's python version must be the same as the one in NiLuJe's package.

1. Install NiLuJe's python3 package.
2. Install the correct kindle cross toolchain (the one NiLuJe used to build the python) and load it into your $PATH
3. Extract the python3 package locally on your computer in the examle below it is in ./python3
Code:
python -m pip install crossenv
python -m crossenv ./python3/bin/python3.9 cross
source ./cross/bin/activate
python -m pip install tinytuya
Youn can then copy the site-packages folder to your kindle's python install.
yparitcher is offline   Reply With Quote