Open wssrcok opened 4 years ago
You may try to set the location of the interpreter (the example is on Kotlin):
extensions.configure<com.linkedin.gradle.python.PythonExtension>("python") {
details.setSystemPythonInterpreter("/usr/local/bin/python3")
details.setPythonVersion("3.9")
}
in an Ubuntu18.04 container, I keep getting this error:
I tried install python3.5, 3.6 and 3.8. but only python3.7 works. I know the work around would be setting systemPythonInterpreter = file("/usr/bin/python3"). But it's not portable: works on ubuntu but doesn't work on my mac (which has different path: /usr/local/bin/python3)
I'd be appreciate if someone can look at the issue and point out why is it the case. I'm not familiar with kotlin so I got very impatient when I look at the code base..
I have reproduced this issue in example-project with this Dockerfile and build.gradle (the original build.gradle had many errors) Dockerfile:
build.gradle