PS: #HELPLINE . Want to discuss your article? Need help structuring your story? Make a date with the editors of Low Code for Data Science via Calendly → Calendly - Blog Writer
Followed the installation steps and got error message:
Execution failed: Could not connect to the Python process
I’ve tested other workflows with the Python Script node and they work.
I’m thoroughly confused. I tried to point Knime directly to the Python Base environment, but its not available in the env folder. I installed Prophet and the latest Pandas in another environment and tried to run that. The Python Script node now throws the error below when executing the script line by line.
Sorry for the trouble. Here’s the error message I’m getting:
Execute failed: RuntimeError: Error during optimization! Command ‘C:\Users\Owner\anaconda3\envs\py39\Lib\site-packages\prophet\stan_model\prophet_model.bin random seed=94065 data file=C:\Users\Owner\AppData\Local\Temp\tmpprr26dy3\fn7j4pjm.json init=C:\Users\Owner\AppData\Local\Temp\tmpprr26dy3\14lvz8d5.json output file=C:\Users\Owner\AppData\Local\Temp\tmpprr26dy3\prophet_model9jcgr4o6\prophet_model-20240712113635.csv method=optimize algorithm=newton iter=10000’ failed:
unfortunately, I don’t understand what may cause the error that you get.
I’ve added a Conda Environment Propagation node to the original workflow so hopefully you should be able to recreate my fbprophet environment on your machine (I’m on Win) and run the Python Script nodes successfully.
Thanks so much for taking the time and trouble to help me. Works perfectly. Created the fbprophet env. The error messages I got were so obscure that I couldn’t understand what was wrong with the environment I was trying to use. I’m a Python novice at best.