Add README for Python interpreter

BUG=b/256650563
This commit is contained in:
Pauline Sho 2022-11-04 13:30:47 -04:00 committed by GitHub
parent ec2def3082
commit 4b419e9150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 161 additions and 0 deletions

View file

@ -41,6 +41,8 @@ issues on their own. It is described here for illustrative purposes only.
```sh
# The cloned tflite-micro folder needs to be renamed to tflite_micro
mv tflite-micro tflite_micro
# To set up a specific Python version, make sure `python` is pointed to the
# desired version. For example, call `python3.9 -m venv tflite_micro/venv`.
python -m venv tflite_micro/venv
echo "export PYTHONPATH=\${PYTHONPATH}:${PWD}" >> tflite_micro/venv/bin/activate
cd tflite_micro