Skip to content

Doesn't it work anymore with Python 2.7 ? #3

Description

@dragibus57

Hi,
Take a look to this :
`~ $ uname -v
#57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016

~ $ pip install subprocess.run
Requirement already satisfied (use --upgrade to upgrade): subprocess.run in /usr/local/lib/python2.7/dist-packages
~ $ python
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from subprocess import run
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name run
import subprocess
dir(subprocess)
['CalledProcessError', 'MAXFD', 'PIPE', 'Popen', 'STDOUT', '_PIPE_BUF', 'all', 'builtins', 'doc', 'file', 'name', 'package', '_active', '_args_from_interpreter_flags', '_cleanup', '_demo_posix', '_demo_windows', '_eintr_retry_call', '_has_poll', 'call', 'check_call', 'check_output', 'errno', 'fcntl', 'gc', 'list2cmdline', 'mswindows', 'os', 'pickle', 'select', 'signal', 'sys', 'traceback', 'types']

`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions