chrippa / python-librtmp

python-librtmp is a RTMP client library. It uses the implementation provided by librtmp via cffi.
BSD 2-Clause "Simplified" License
154 stars 33 forks source link

Windows, python27 cannot compile example code #27

Open Gudui opened 9 years ago

Gudui commented 9 years ago

I've downloaded a clean version of python27 32bit inorder to make sure that it wasn't anything in my previous installation.

When I'm trying to compile the example given on the front page it gives me the following errors. import librtmp File "C:\Python27\lib\site-packages\librtmpinit.py", line 8, in from ._librtmp import ffi, lib as librtmp ImportError: DLL load failed: The specified module could not be found.

Installed using pip 7.1.2, pip install python-librtmp Collecting python-librtmp Using cached python_librtmp-0.3.0-cp27-none-win32.whl Collecting cffi>=1.0.1 (from python-librtmp) Using cached cffi-1.3.1-cp27-none-win32.whl Collecting singledispatch (from python-librtmp) Using cached singledispatch-3.4.0.3-py2.py3-none-any.whl Collecting pycparser (from cffi>=1.0.1->python-librtmp) Using cached pycparser-2.14.tar.gz Collecting six (from singledispatch->python-librtmp) Using cached six-1.10.0-py2.py3-none-any.whl Installing collected packages: pycparser, cffi, six, singledispatch, python-librtmp Running setup.py install for pycparser Successfully installed cffi-1.3.1 pycparser-2.14 python-librtmp-0.3.0 singledispatch-3.4.0.3 six-1.10.0

Thanks in advance.

wilsonssss commented 3 months ago

resolution: https://github.com/chrippa/python-librtmp/issues/35#issuecomment-2306561066