how to run python api from php
Mostrar comentarios más antiguos
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.
Respuestas (1)
Bo Li
el 12 de Sept. de 2016
0 votos
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.
2 comentarios
Brenden Garrison
el 12 de Sept. de 2016
Bo Li
el 13 de Sept. de 2016
To find more details about this failure, you might need to check the log of the web server that invokes this PHP script.
Categorías
Más información sobre Call MATLAB from Python en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!