Kodi Community Forum

Full Version: Can I run external Python scripts using my Windows Python install Rather than Kodi's?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey

I am trying to use a batch file to run a python script which is in a different workfolder and works just perfect when I run it directly from windows, but when I use a batch file to call the script either through MadVR or Kodi I get an error, i guess because its trying to use the built in Python libs to run my python script and its failing.

Anyway, I have even tried creating an exe file which does also run, but still the end result is kodi is trying to run the python script from its own libraries it seems.

Any ideas to get around this?

The error I get:

Image
You could try and bring in a full version of python into the Kodi path, but I suspect not only different versions will be a handicap, but calls you make are acessing Kodi specific routines and the path subtituion to the correct libs would have to be elucidated.

This is reeally an off-topic issue.