def getEnvBinDir():
    env_dir = getEnvDir()
    env_bin_dir = os.path.join(
        env_dir, 'Scripts' if Tools.getOsName() in 'windows' else 'bin')

    try:
        os.makedirs(env_bin_dir)
    except OSError as exc:
        if exc.errno != errno.EEXIST:
            raise exc
        pass

    return env_bin_dir


# get cache path
dataset/ETHPy150Open gepd/Deviot/libs/Paths.py/getEnvBinDir/swapped operands of `in`