title: Python (sympy) string to php issues
body: <p>I have a weird situation.  I am calling a python program from my webpage (written in PHP). It normally works fine, but I when I add </p>
  
  <pre><code>import sympy
  </code></pre>
  
  <p>I get problems (this one line is the only difference).  </p>
  
  <p>Basically, when I run the program from the terminal (with 'import sympy') it works just fine (prints 6 strings), but when I call the program from my php file it returns an empty array (instead of an array with 6 strings like it should).  The two commands are</p>
  
  <p>terminal:</p>
  
  <pre><code>python MyProgram.py arg1
  </code></pre>
  
  <p>from php:</p>
  
  <pre><code>$command='python MyProgram.py arg1';
  exec($command, $output); 
  </code></pre>
  
  <p>Any ideas?  Thanks in advance!</p>