question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The `pipenv install --deploy --system` command is no longer working.

See original GitHub issue

Be sure to check the existing issues (both open and closed!).

The pipenv install --deploy --system command is no longer working.

$ python -m pipenv.help output

Pipenv version: '11.10.4'

Pipenv location: '/usr/local/lib/python3.6/site-packages/pipenv'

Python location: '/usr/local/bin/python'

Other Python installations in PATH:

  • 3.6: /usr/local/bin/python3.6m

  • 3.6: /usr/local/bin/python3.6

  • 3.6: /usr/local/bin/python3.6

  • 3.6.5: /usr/local/bin/python

  • 3.6.5: /usr/local/bin/python

  • 3.6.5: /usr/local/bin/python3

  • 3.6.5: /usr/local/bin/python3

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.9.87-linuxkit-aufs',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP Fri Mar 16 18:16:33 UTC 2018',
 'python_full_version': '3.6.5',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

  • HOSTNAME
  • SHLVL
  • PYTHON_PIP_VERSION
  • HOME
  • GPG_KEY
  • PATH
  • LANG
  • PYTHON_VERSION
  • PWD
  • PYTHONDONTWRITEBYTECODE
  • PIP_PYTHON_PATH

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • LANG: C.UTF-8
  • PWD: /usr/src/app

Contents of Pipfile (‘/usr/src/app/Pipfile’):

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
records = "*"

[dev-packages]

[requires]
python_version = "3.6"


Expected result

The pipenv install --deploy --system command completes successfully.

Actual result

Command exists with code 1 with the following output.

+ pipenv install --deploy --system
Warning: --system is intended to be used for Pipfile installation, not installation of specific packages. Aborting.
See also: --deploy flag.
Steps to replicate

See the gist at https://gist.github.com/ryan-blunden/e27f8e48b134e041be22f07fcac943de and run `make build.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

55reactions
techalchemycommented, Jun 4, 2018

Hi @ryan-blunden. The Issue tracker is used for tracking changes merged into master. We already read your issue and fixed it in master, please do not use this as a forum to tell us how to run the project.

8reactions
uranusjrcommented, May 12, 2018

We can probably improve the error message to let the user know what to do next.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pipenv throws and error when installing in docker
RUN pip install pipenv pytest. with this one, which installs the previous version of pipenv (https://pypi.org/project/pipenv/2022.10.25/) :.
Read more >
Configure a Pipenv environment | PyCharm Documentation
Install pipenv by running the following command: $ pip install --user pipenv. When installation completes, you will see the following message: System ......
Read more >
Pipenv: Python Dev Workflow for Humans - Read the Docs
You no longer need to use pip and virtualenv separately. ... The main commands are install , uninstall , and lock , which...
Read more >
Pipenv install with all the flags, explained - Micah Smith
--system : this flag means that dependencies will be installed to the system Python; no virtual environment will be created. --deploy : ...
Read more >
Basic Usage of Pipenv - Python Packaging Authority
--dev — Install both develop and default packages from Pipfile . · --system — Use the system pip command rather than the one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found