private IPythonInterpreterFactory CreateFactory(PythonInterpreterInformation info) { return(InterpreterFactoryCreator.CreateInterpreterFactory( info.Configuration, new InterpreterFactoryCreationOptions { PackageManager = CondaUtils.HasConda(info.Configuration.PrefixPath) ? BuiltInPackageManagers.Conda : BuiltInPackageManagers.Pip, WatchFileSystem = true, NoDatabase = ExperimentalOptions.NoDatabaseFactory, DatabasePath = ExperimentalOptions.NoDatabaseFactory ? DatabasePathSelector.CalculateVSLocalDatabasePath(_site, info.Configuration, 1) : DatabasePathSelector.CalculateGlobalDatabasePath(info.Configuration, PythonTypeDatabase.FormatVersion) } )); }