Python creates this problem for itself by striving for non-backwards-compatibility.  Its usually common to keep every version of python on the box so you can use the one that is needed.
We use system python so eventually it will make it to 3 but there are no immediate efforts underway.




On Tue, Apr 11, 2017 at 9:13 AM, Deepika Yadav <deepikay@iiitd.ac.in> wrote:
Hi,

I need to python-ESL with python version 3. However, by default ESL library get installed which is compatible for python2, I have various other modules that run only on python3. How can I create ESL for python3

When I try to run "pip3 install python-ESL", I get the following error:

error: command 'swig' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_sangoshthi/python-ESL/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pzzj15oz-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_sangoshthi/python-ESL
Storing debug log for failure in /home/sangoshthi/.pip/pip.log


Regards
Deepika


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900