lib/index.js
function checkEnv() {
        async.series([
            function(cb) {
                childProcess.exec(
                    'python -c "import django; print(django.get_version())"',
                    function(err, version) {
                        if (err || !/^1\.7/.test(version)) {
                            return cb(new Error(
                                'Django 1.7 environment is not working'
                            ));
                        }
                        cb();
                    });
            }
        ], function(err) {
            if (err) {
                console.error(chalk.red('\nFATAL: ' + err.message +
                    '\n'));
            }
        });
    }
function checkEnv() {
        async.series([
            function(cb) {
                childProcess.exec(
                    'python -c "import django; print(django.get_version())"',
                    function(err, version) {
                        if (err || !/^1\.7/.test(version)) {
                            return cb(new Error(
                                'Django 1.7 environment is not working'
                            ));
                        }
                        cb();
                    });
            }
        ], function(err) {
            if (err) {
                console.error(chalk.red('\nFATAL: ' + err.message +
                    '\n'));
            }
        });
    }
function checkEnv ( ) { async . series ( [ function ( cb ) { childProcess . exec ( 'python -c "import django; print(django.get_version())"' , function ( err , version ) { if ( err || ! / ^1\.7 / . test ( version ) ) { return cb ( new Error ( 'Django 1.7 environment is not working' ) ) ; } cb ( ) ; } ) ; } ] , function ( err ) { if ( err ) { console . error ( chalk . red ( '\nFATAL: ' + err . message + '\n' ) ) ; } } ) ; }
Check dependencies.

@since 0.1.1
@throws {Error} If checking failed.
Check dependencies .