How to call python script from exec component. #13342
-
Hi, I used to call python script using below lines with custom vector linux image. This is working under docker perspective. Now how can i run this in windows command line using vector installed,
Any way i get it running in local windows machine? Edit - FYI, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @satscreate ! It seems like If you don't want to provide a fully qualified path, you'll want to ensure that the python binary is in your environment path. See https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them for more details. |
Beta Was this translation helpful? Give feedback.
Hi @satscreate !
It seems like
python
isn't in the path when running viabash
. In your example, what happens if you runbash
and thenwhich python
? My assumption is that it won't be found.If you don't want to provide a fully qualified path, you'll want to ensure that the python binary is in your environment path. See https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them for more details.