(P.S.: I am using DeepStream in colab, and it working fine)
Recently I git cloned the ‘deepstream_python_apps’ repository from github. I have fulfilled all the prerequisutes: I have Ubuntu 18.04, DeepStream SDK 6.0, Python 3.6 and have installed/git-cloned Gst Python v1.14.5.
When running any of the code given in the apps folder inside the git cloned folder, I am getting an error like:
Traceback (most recent call last):
File "/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/deepstream-test3/deepstream_test_3.py", line 32, in <module>
from common.is_aarch_64 import is_aarch64
ModuleNotFoundError: No module named 'common'
For that I installed common library:
!pip install common
Then I got an error saying:
Traceback (most recent call last):
File "/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/deepstream-test3/deepstream_test_3.py", line 32, in <module>
from common.is_aarch_64 import is_aarch64
ModuleNotFoundError: No module named 'common.is_aarch_64'
Later I noticed that there is a common folder inside the apps folder itself, containing an ‘is_aarch_64.py’ file. But inspite of that I am getting an error of no such module. How can I solve it?
Common is one directory under python app directory.
Did you use sys.path.append(‘…/’) or sys.path.append(‘./’)
if the later one, please change to the first one.
Yeah, I am running it from that directory only. You can see the path in the picture above:
/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/…