how to run python api from php
1 view (last 30 days)
I'm using a PHP to call a python script that uses the matlab API. The engine.start_matlab() function won't execute.
I found this and was wondering if it means that my computer is considered a remote machine. I'm doing all of this on localhost, so I wouldn't have thought that this would be a problem.
Bo Li on 12 Sep 2016
What is the error message? Which platform? Does it work outside of PHP?
If it works outside of PHP, the issue can be related to the conflict of libraries used by PHP and Python Engine.