We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b07e0d commit 4c514daCopy full SHA for 4c514da
1 file changed
bin/deepforge
@@ -243,6 +243,16 @@ program.command('start')
243
.option('-N, --no-conda', 'do not start deepforge server in a conda environment.')
244
.option('-m, --mongo', 'start MongoDB')
245
.action(async args => {
246
+ if(args.conda){
247
+ try {
248
+ Conda.check();
249
+ } catch (e) {
250
+ console.log('Warning: conda executable not found. Please ' +
251
+ 'install conda for automatic management of Python ' +
252
+ 'dependencies via conda environments.');
253
+ args.conda = false;
254
+ }
255
256
const serverCommand = getDeepForgeServerCommand(args.conda);
257
const startAll = !args.server && !args.mongo;
258
if (startAll) {
0 commit comments