Commit df889caf authored by Ryan Julian's avatar Ryan Julian
Browse files

Force shebang lines to Python 3

This is a Python 3-only library. A shebang with `#!/usr/bin/env python`
will launch python2 on many systems which do not have python3
installed. Setting the shebang to `#!/usr/bin/env python3` will show a
useful error on systems without Python 3.
parent 6a3cbb4b
#!/usr/bin/env python
#!/usr/bin/env python3
import os, logging, gym
from baselines import logger
from baselines.common import set_global_seeds
......
#!/usr/bin/env python
#!/usr/bin/env python3
import os, logging, gym
from baselines import logger
from baselines.common import set_global_seeds
......
#!/usr/bin/env python
#!/usr/bin/env python3
import argparse
import logging
import os
......
#!/usr/bin/env python
#!/usr/bin/env python3
from mpi4py import MPI
from baselines.common import set_global_seeds
......
#!/usr/bin/env python
#!/usr/bin/env python3
from baselines.common import set_global_seeds, tf_util as U
from baselines import bench
import gym, logging
......
#!/usr/bin/env python
#!/usr/bin/env python3
from mpi4py import MPI
from baselines.common import set_global_seeds
import os.path as osp
......
#!/usr/bin/env python
#!/usr/bin/env python3
# noinspection PyUnresolvedReferences
import mujoco_py # Mujoco must come before other imports. https://openai.slack.com/archives/C1H6P3R7B/p1492828680631850
from mpi4py import MPI
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment