Python version of Global Shared Code
![SanderVW](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar15.png)
SanderVW
Registered Posts: 44 ✭✭✭✭
Operating system used: WindowsWe have been using the same script as part of our global shared code for quite some time. Today, we started getting syntax errors from f-strings and **kwargs. This led us to believe the python version of our global shared code has changed to an earlier version where this is not supported.
Is there a way to inspect the python environment of the global shared code and to adjust it to a more current version?
We are at a bit of a loss and would prefer not to change the script itself as it is quite extensive
Tagged:
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,876 Neuron
Run this and you will know what version of Python you have:
import sys print(sys.version)
Are you using a built-in Python code environment? If so, don't. You should create a new code environment for your project and set it at project level.