Python Error

HI There,

Till yesterday, I was able to run python without any problem.

Now for some reason the bundled python will not start

Here is the log:

Here is my current Python setup:

here is what python script looks like now.

Hi @KNIMEuser23421,

thanks for the detailed post (it is!). However, we have no clue here what happens. Do you have any idea about what happened since yesterday? Did some reboot of the KNIME Analytics Platform etc help? What happens if you copy paste the code to another Python Script node? I’m also just trying to debug with you here :slight_smile:

Best regards
Steffen

Hi Steffen,

Thanks for the quick response. I have found the problem and solved it.

Basically, the company IT policy has stopped applications from obtaining authorizations to run windows powershell by default. So KNIME was not able to use windows powershell to run python. Because this version of Python is the latest version and not yet approved by IT.

So… had to run it using admin right.

Thanks !

1 Like

Hi @KNIMEuser23421,

good to know that it is an IT policy issue.
However, I do not understand why you think that we use the latest Python version (3.11) here, as we use 3.9 in our bundled environment. Which Python versions are approved by your IT then?

Best regards
Steffen

Sorry. I did not have coffee an hour ago … I meant latest version of KNIME… it wasnt issue with Python … Its just that the latest version of KNIME is not approved by IT so by default, it wasnt allowed to call Windows Powershell. so I had to force it to have admin right…

1 Like

I see, thanks! (topic can be closed)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.