I am new to the world of LUA and Python scripting. I have installed LUA and Python for Windows but getting all the dependencies correctly installed and working together has been difficult for me. Therefore I have been unable to get the CLI operation working.
I'm not sure if I completely understand, but FWIW, the chdkptp binaries from
https://app.assembla.com/spaces/chdkptp/documents include a complete Lua interpreter and support both the CLI and GUI mode.
To use the CLI, start chdkptp (from command prompt, powershell etc) with chdkptp -i
You can run your own code or modules from there using the "!" command, but 3rd party modules built in DLL are unlikely to work.
I have been using chdkptp GUI to connect the cameras. I am able to run multicam from Notepad++ and execute it through the 'LUA local Macro' and this has been successful for running the cameras.
I'm unclear how you are running multicam from notepad++. Do you somehow have chdkptp built as a modules running within the notepad++ Lua environment, or are you just executing it as an external .exe?
If you want to run your own Lua scripts inside chkdptp, you don't need notepad++, you can just run them with !dofile(...) or use require and call functions with !.
What I am endeavoring to accomplish is to get a running program that will send commands to take pictures as well as stop and start the turntable via a HTTP request.
FWIW, if you want to run everything from the chdkptp Lua interpreter, you could just use standard Lua os.execute or io.popen (or the chdkptp wrapper fsutil.popen) to execute curl or something like that to make the http requests.
Also, if you could provide me with some pointers on the best way to install LUA, Python, and the dependencies for a noob, I would really appreciate that too.
Without knowing what you want to accomplish with them, this isn't straightforward question.
If you just want python and easy access to python packages on windows, anaconda is a straightforward standalone install
https://www.anaconda.com/products/individualMSYS2
https://www.msys2.org/ also provides python, along with a complete gcc development environment and large selection of *nix-ish tools. This is the environment I use to develop chdkptp on windows, and I also use it for various python things. However, python in msys2 can have confusing compatibility issues. There are separate python packages for the "msys" and the "mingw" environments, which are incompatible with each other and have different behavior. "msys" is a unix-ish (more or less) "posix" environment, while the mingw environments are more windows-ish.
MSYS2 provides various Lua packages as well, but the chdkptp executables I distribute use a statically linked standalone build from the the official Lua source, so MSYS2 Lua is not directly relevant to chdkptp.
You can also get Python and Lua on windows using WSL (
https://docs.microsoft.com/en-us/windows/wsl/) but I have never tried to run chdkptp through WSL and don't know if it's possible to make the USB connection work.