{solved}: PHP exec() problem with custom Python module
<p><strong>* edit *</strong>
After reinstalling the module, everything worked fine.</p>

<p>I have installed a python module on my webserver.</p>

<p>When I do "whereis python" I get following path:</p>

<pre><code>python: /usr/bin/python2.4 /usr/bin/python /usr/lib/python2.4 /usr/include/python2.4 /usr/share/man/man1/python.1.gz
</code></pre>

<p>Later when I check my modules path, it was installed here:</p>

<pre><code>/usr/llib/python2.4/site-packages/MyModule/myModule
</code></pre>

<p>Now in my PHP script, I am doing this:</p>

<pre><code>exec("python /usr/lib/python2.4/site-packages/MyModule/myModule script.py -v pixfx.xml 2&gt;&amp;1", $output, $return);
</code></pre>

<p>This script does not get executed.</p>

<p>Any issues with what I am doing so far?</p>

<p>Thanks</p>

<p><em><strong></em>**<em>*</em>**<em>*</em>**<em></strong> edit <strong></em>**<em>*</em>**<em>*</em>***</strong></p>

<pre><code>#! /usr/bin/env python 
import sys 
import os 
import getopt 
import re 
from fontTools.ttLib import TTFont 
from fontTools.ttLib.tables.otBase import OTLOffsetOverflowError 
from fontTools.ttLib.tables.otTables import fixLookupOverFlows, fixSubTableOverFlows     
from fontTools.misc.macCreatorType import getMacCreatorAndType 
from fontTools import version 
</code></pre>

<hr>
