import distutils.version
import logging
import os
import sys

from gym import error
from gym.configuration import logger_setup, undo_logger_setup
from gym.utils import reraise
from gym.version import VERSION as __version__

logger = logging.getLogger(__name__)

# Do this before importing any other gym modules, as most of them import some
# dependencies themselves.
def sanity_check_dependencies():
    import numpy
    import requests
    import six

    if distutils.version.LooseVersion(numpy.__version__) < distutils.version.LooseVersion('1.10.4'):
        logger.warn("You have 'numpy' version %s installed, but 'gym' requires at least 1.10.4. HINT: upgrade via 'pip install -U numpy'.", numpy.__version__)

    if distutils.version.LooseVersion(requests.__version__) < distutils.version.LooseVersion('2.0'):
        logger.warn("You have 'requests' version %s installed, but 'gym' requires at least 2.0. HINT: upgrade via 'pip install -U requests'.", requests.__version__)

sanity_check_dependencies()

from gym.core import Env, Space, Wrapper, ObservationWrapper, ActionWrapper, RewardWrapper
from gym.benchmarks import benchmark_spec
from gym.envs import make, spec
from gym.scoreboard.api import upload
from gym import wrappers

__all__ = ["Env", "Space", "Wrapper", "make", "spec", "upload", "wrappers"]

73f941284d31a668d6002299c80e140492ccea0e
<mask token>


def sanity_check_dependencies():
    import numpy
    import requests
    import six
    if distutils.version.LooseVersion(numpy.__version__
        ) < distutils.version.LooseVersion('1.10.4'):
        logger.warn(
            "You have 'numpy' version %s installed, but 'gym' requires at least 1.10.4. HINT: upgrade via 'pip install -U numpy'."
            , numpy.__version__)
    if distutils.version.LooseVersion(requests.__version__
        ) < distutils.version.LooseVersion('2.0'):
        logger.warn(
            "You have 'requests' version %s installed, but 'gym' requires at least 2.0. HINT: upgrade via 'pip install -U requests'."
            , requests.__version__)


<mask token>

<mask token>


def sanity_check_dependencies():
    import numpy
    import requests
    import six
    if distutils.version.LooseVersion(numpy.__version__
        ) < distutils.version.LooseVersion('1.10.4'):
        logger.warn(
            "You have 'numpy' version %s installed, but 'gym' requires at least 1.10.4. HINT: upgrade via 'pip install -U numpy'."
            , numpy.__version__)
    if distutils.version.LooseVersion(requests.__version__
        ) < distutils.version.LooseVersion('2.0'):
        logger.warn(
            "You have 'requests' version %s installed, but 'gym' requires at least 2.0. HINT: upgrade via 'pip install -U requests'."
            , requests.__version__)


sanity_check_dependencies()
<mask token>

<mask token>
logger = logging.getLogger(__name__)


def sanity_check_dependencies():
    import numpy
    import requests
    import six
    if distutils.version.LooseVersion(numpy.__version__
        ) < distutils.version.LooseVersion('1.10.4'):
        logger.warn(
            "You have 'numpy' version %s installed, but 'gym' requires at least 1.10.4. HINT: upgrade via 'pip install -U numpy'."
            , numpy.__version__)
    if distutils.version.LooseVersion(requests.__version__
        ) < distutils.version.LooseVersion('2.0'):
        logger.warn(
            "You have 'requests' version %s installed, but 'gym' requires at least 2.0. HINT: upgrade via 'pip install -U requests'."
            , requests.__version__)


sanity_check_dependencies()
<mask token>
__all__ = ['Env', 'Space', 'Wrapper', 'make', 'spec', 'upload', 'wrappers']

import distutils.version
import logging
import os
import sys
from gym import error
from gym.configuration import logger_setup, undo_logger_setup
from gym.utils import reraise
from gym.version import VERSION as __version__
logger = logging.getLogger(__name__)


def sanity_check_dependencies():
    import numpy
    import requests
    import six
    if distutils.version.LooseVersion(numpy.__version__
        ) < distutils.version.LooseVersion('1.10.4'):
        logger.warn(
            "You have 'numpy' version %s installed, but 'gym' requires at least 1.10.4. HINT: upgrade via 'pip install -U numpy'."
            , numpy.__version__)
    if distutils.version.LooseVersion(requests.__version__
        ) < distutils.version.LooseVersion('2.0'):
        logger.warn(
            "You have 'requests' version %s installed, but 'gym' requires at least 2.0. HINT: upgrade via 'pip install -U requests'."
            , requests.__version__)


sanity_check_dependencies()
from gym.core import Env, Space, Wrapper, ObservationWrapper, ActionWrapper, RewardWrapper
from gym.benchmarks import benchmark_spec
from gym.envs import make, spec
from gym.scoreboard.api import upload
from gym import wrappers
__all__ = ['Env', 'Space', 'Wrapper', 'make', 'spec', 'upload', 'wrappers']

import distutils.version
import logging
import os
import sys

from gym import error
from gym.configuration import logger_setup, undo_logger_setup
from gym.utils import reraise
from gym.version import VERSION as __version__

logger = logging.getLogger(__name__)

# Do this before importing any other gym modules, as most of them import some
# dependencies themselves.
def sanity_check_dependencies():
    import numpy
    import requests
    import six

    if distutils.version.LooseVersion(numpy.__version__) < distutils.version.LooseVersion('1.10.4'):
        logger.warn("You have 'numpy' version %s installed, but 'gym' requires at least 1.10.4. HINT: upgrade via 'pip install -U numpy'.", numpy.__version__)

    if distutils.version.LooseVersion(requests.__version__) < distutils.version.LooseVersion('2.0'):
        logger.warn("You have 'requests' version %s installed, but 'gym' requires at least 2.0. HINT: upgrade via 'pip install -U requests'.", requests.__version__)

sanity_check_dependencies()

from gym.core import Env, Space, Wrapper, ObservationWrapper, ActionWrapper, RewardWrapper
from gym.benchmarks import benchmark_spec
from gym.envs import make, spec
from gym.scoreboard.api import upload
from gym import wrappers

__all__ = ["Env", "Space", "Wrapper", "make", "spec", "upload", "wrappers"]
