To fix the libpython3.4m.so.1.0: cannot open shared object file: No such file or directory error use the below code samples.
If you are using python 3.6 then run :
sudo apt-get install libpython3.6-dev
In python 3.4 use:
Add the lib path for Python 3.4 to the
$LD_LIBRARY_PATH environment variable. To begin, locate the python3.4 library path (depends on your installation). It was
/opt/python123/lib for me, and I added it to an environment variable like this:
Also try to include the paths in the program beginning using
include <lib path of python3.x>.
ValueError: Namespace GstRtspServer not available