diff --git a/tutorials/autotvm/tune_relay_vta.py b/tutorials/autotvm/tune_relay_vta.py index a9ab6d70ae48..eab23eee0b0f 100644 --- a/tutorials/autotvm/tune_relay_vta.py +++ b/tutorials/autotvm/tune_relay_vta.py @@ -40,7 +40,7 @@ # # .. code-block:: bash # -# pip3 install --user psutil xgboost tornado mxnet requests pillow +# pip3 install --user psutil xgboost tornado mxnet requests "Pillow<7" # # To make TVM run faster during tuning, it is recommended to use cython # as FFI of TVM. In the root directory of TVM, execute diff --git a/tutorials/frontend/deploy_vision_on_vta.py b/tutorials/frontend/deploy_vision_on_vta.py index a3169865e931..47773bda5ec7 100644 --- a/tutorials/frontend/deploy_vision_on_vta.py +++ b/tutorials/frontend/deploy_vision_on_vta.py @@ -34,7 +34,7 @@ # # .. code-block:: bash # -# pip3 install --user mxnet requests pillow +# pip3 install --user mxnet requests "Pillow<7" # # Now return to the python code. Import packages.