$ pipenv run --no-interactive
See original GitHub issueFor example, with Docker:
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==3.3.6', 'console_scripts', 'pipenv')()
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 962, in run
    c.interact()
  File "/usr/local/lib/python3.6/site-packages/pexpect/pty_spawn.py", line 740, in interact
    mode = tty.tcgetattr(self.STDIN_FILENO)
termios.error: (25, 'Inappropriate ioctl for device')
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:15 (9 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
pipenv shell in Jenkins return the issue termios.error
Jenkins is a non-interactive environment. All user input is nullified, and it's just an output console. So you cannot run an interactive ...
Read more >Pipenv run vs Pipenv shell - Anselmos Blog
Pipenv run is the main purpose for running next python commands. It will automatically activate environment for that command and execute ...
Read more >Image Layer Details - kennethreitz/pipenv:update-options
kennethreitz/pipenv:update-options ... /bin/sh -c mkdir -p /run/systemd ... /bin/sh -c LC_ALL=C DEBIAN_FRONTEND=noninteractive /tmp/build.sh. 148.59 MB.
Read more >Running mypy and managing imports
This page discusses in more detail how exactly to specify what files you want mypy to type check, how mypy discovers imported modules,...
Read more >pipenv run script
To activate this project's virtualenv, run the following: $ pipenv shell $ pipenv run --no-interactive python manage.py migrate ERROR: Job failed: exit code...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

How about a
--no-interactiveflag that doesn’t open a new shell?@marioBZ7 sorry, I didn’t realize the issue with ‘interactivity’ isn’t that you don’t want to give input (which is what
PIPENV_YESaddresses) but instead that you just need to use pipenv in docker.I would ask that you be a bit courteous, we are triaging a lot of issues and since most of them come down to a simple answer we don’t always invest a lot of time in each one.
This is a decent overview of how to use pipenv in docker, but essentially you will want to pass
--systemto prevent the creation of a virtualenv at all.