[Freeswitch-users] python ESL module
Bipin Patel
bipin at xbipin.com
Wed May 24 08:29:12 UTC 2017
hi,
is any1 using the ESL python module to create python scripts for FS ESL,
if so can some1 kindly let me know how to get it to install as i keep
getting the below error when i try
Collecting python-ESL
Using cached python-ESL-1.4.18.tar.gz
Installing collected packages: python-ESL
Running setup.py install for python-ESL ... error
Complete output from command c:\python27\python.exe -u -c "import
setuptools,
tokenize;__file__='c:\\users\\bipin\\appdata\\local\\temp\\pip-build-snoqec\\python-ESL\\setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
c:\users\bipin\appdata\local\temp\pip-4yo5fb-record\install-record.txt
--single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-2.7
copying ESL.py -> build\lib.win32-2.7
running build_ext
building '_ESL' extension
swigging ESL.i to ESL_wrap.cpp
D:\swigwin-3.0.12\swig.exe -python -classic -c++ -DMULTIPLICITY
-threads -I. -o ESL_wrap.cpp ESL.i
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
C:\Users\Bipin\AppData\Local\Programs\Common\Microsoft\Visual C++ for
Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG
-Ic:\python27\include -Ic:\python27\PC /Tcesl.c
/Fobuild\temp.win32-2.7\Release\esl.obj -I.
esl.c
.\esl.h(186) : fatal error C1083: Cannot open include file:
'sys/time.h': No such file or directory
error: command
'C:\\Users\\Bipin\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual
C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
----------------------------------------
Command "c:\python27\python.exe -u -c "import setuptools,
tokenize;__file__='c:\\users\\bipin\\appdata\\local\\temp\\pip-build-snoqec\\python-ESL\\setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
c:\users\bipin\appdata\local\temp\pip-4yo5fb-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1
in c:\users\bipin\appdata\local\temp\pip-build-snoqec\python-ESL\
--
Regards,
Bipin
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170524/b75c4c38/attachment.html>
More information about the FreeSWITCH-users
mailing list