Not able to create Plugin Managed Environement with Python 3.8
![neerajisalso](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar6.png)
neerajisalso
Registered Posts: 6 ✭
Hello Team
I was working on creating the custom dataiku plugin in python.
I wanted to use the python 3.8 or 3.9 version for the same. I am facing a problem while creating the plugin-managed environment for this plugin.
![1.CreateEnv.png](https://us.v-cdn.net/6038231/uploads/lithium_attachments/7673i8D812D987395DA8E.png)
![1.CreateEnv.png](https://us.v-cdn.net/6038231/uploads/lithium_attachments/7673i8D812D987395DA8E.png)
I am not seeing python 38 or python 39 in the drop-down and hence selected "Custom" as seen below.
After setting the above option when clicking on Build New Environment getting an error saying Python38 is not found.
After setting the above option when clicking on Build New Environment getting an error saying Python38 is not found.
![2.ErrorWithCustomOption.png](https://us.v-cdn.net/6038231/uploads/lithium_attachments/7674i3402A6A440F76CC0.png)
Can you help with how this can be achieved using the custom option or need to do some admin settings? Basically, I expect all the available python versions to be available in the drop-down of Python while creating the New Environment.
Regards,
Neeraj
Tagged:
Best Answer
-
Miguel Angel Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 118 Dataiker
Hi Neeraj,
The error message is telling us either Python 3.8 is not installed in the server or it cannot be found.
- In the first case, please ensure that python version is installed in the server (and the base image if you do containerised execution).
- In the second, if for whatever reason DSS fails to find the installed python interpreter (e.g. it is not in the PATH), you can indeed specify its location using the "Custom" option. Here, we need to put the path of the python executable in the server, such as '/usr/local/bin/python3.8' not just its name.