You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you, the [new] one worked!
[old]
GradientEngine.UseEnvironmentFromVariable();
[new]
System.IO.DirectoryInfo home = new System.IO.DirectoryInfo(@"c:\ProgramData\Anaconda3\envs\py35cpu");
PythonEnvironment myenv = CondaEnvironment.DetectCondaEnvironment(home);
GradientEngine.UseEnvironment(myenv);
@kurikabocya would you mind testing the fix for this issue? For that, either clone this repo and run app.csproj and pass single command line parameter list, or try your [old] code variant with the lasted nightly build of WhichPython ( you can install/update to preview package version from https://www.nuget.org/packages/WhichPython/0.3.4-CI-20201012-001 ).
We should have a clear separation of system-wide and user environments similar to
EnvironmentVariableTarget
.By default, both types of environments should be returned, and
CondaEnvironment
should be able to tell the type to distinguish between them.The text was updated successfully, but these errors were encountered: