Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting "libpython3.8.so.1.0 cannot open shared object file: No such file or directory" error while running deepstream.py #5

Open
ahmedmuzammilAI opened this issue Apr 2, 2024 · 7 comments

Comments

@ahmedmuzammilAI
Copy link

deepstream.py", line 13, in <module>
    import pyds
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

can you please help me solve this issue! I have python 3.10 install and i dont know why its trying to find python 3.8

@marcoslucianops
Copy link
Owner

Probably, you installed a different pyds (deepstream_python_apps) version compared to the DeepStream SDK version.

@ahmedmuzammilAI
Copy link
Author

ahmedmuzammilAI commented Apr 2, 2024

thanks! I uninstall and reinstall pyds using "pip install pyds" command and im getting this error:
is there any other way i should install pyds with GPU support? can you please let me know if there is..

Traceback (most recent call last):
  File "/opt/nvidia/deepstream/deepstream-6.4/sources/apps/sample_apps/deepstream-face/DeepStream-Yolo-Face-master/deepstream.py", line 401, in <module>
    sys.exit(main())
  File "/opt/nvidia/deepstream/deepstream-6.4/sources/apps/sample_apps/deepstream-face/DeepStream-Yolo-Face-master/deepstream.py", line 309, in main
    osd.set_property('process-mode', int(pyds.MODE_GPU))
AttributeError: module 'pyds' has no attribute 'MODE_GPU'

@marcoslucianops
Copy link
Owner

What is your DeepStream version?

@ahmedmuzammilAI
Copy link
Author

ahmedmuzammilAI commented Apr 2, 2024

It's 6.4
Thanks I solved that issue by installing pyds using this command:

wget https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/releases/download/v1.1.10/pyds-1.1.10-py3-none-linux_x86_64.whl

pip3 install pyds-1.1.10-py3-none-linux_x86_64.whl

then I gave the onnx weights and the engine was built successfully but the video gets stuck while opening and it gives segmentation fault(core dumped) error. Please if you could help with this..
is this because of a different deepstream version?

@marcoslucianops
Copy link
Owner

Are you using the correct exporter file in the utils folder (from this repo)?

@ahmedmuzammilAI
Copy link
Author

no sorry! let me check that..

@ahmedmuzammilAI
Copy link
Author

Hi @marcoslucianops!! Thanks a lot for your help all along the way you're really awesome! I'm able to run it now and detect faces.
I had a few questions if you could please tell me regarding this:

  1. will I be able to run this on multiple streams parallelly?
  2. can I recognise individual faces with labels/names separately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants