Closed Nucs closed 5 years ago
@Nucs, please take a look at https://github.com/losttech/WhichPython/blob/master/src/PythonEnvironment.cs (it is a dependency of Gradient).
You can use PythonEnvironment.EnumerateEnvironments
to get the list of Python environments Gradient will recognize automatically on your machine.
These environments will also give you an idea of what to pass to the PythonEnvironment
constructor, if you want a custom one.
EnumerateEnvironments returns an empty enumerate. I'm opening an issue there explaining the problem.
Incase anyone needs to know how a loaded environment looks like:
Just FYI, this is just for Windows. On Linux and MacOS it will look differently.
Can you provide an example of what paths to place in
GradientSetup.UseEnvironment(...)
.