php - How to import python packages from a localhost?

one text

I am currently working on the development of a graphical interface in php for a python application involving the import of various packages such as pandas, numpy or matplotlib.pyplot.

My problem is that when I run myproject.py from the php script (using exec, system or shell_exec) I get an error specifying "no module named 'pandas'" while out of my localhost the import of the packages is done without worry.

(I work under windows)

I wonder if this kind of request between web language and system language is possible.

Any advice, ideas, courses, indications, exemples or other help are welcome.

Sincerely,

HM.

Source