DWQA QuestionsCategory: PiVideoWhy do I get the error "ImportError: No module named builtins" when trying to use PiVideo?
mwlinder Staff asked 3 years ago

When running the PiVideo software it gives an error something like:
ImportError: No module named builtins with reference to line 24 in pivideo.py. In line 24 of pyvideo.py, the following “from builtins import chr” is found.

1 Answers
mwlinder Staff answered 3 years ago

Starting with version 1.9 of PiVideo, support for both Python 2 and Python 3 was added. If you are using Python 2, the “futures” package is required, and can be installed using:
sudo pip install future
A future version of PiVideo will load this dependency automatically.

Why do I get the error "ImportError: No module named builtins" when trying to use PiVideo?