You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question is what is the use case of pipenv install --ignore-pipfile, to me, there is no difference between pipenv install and pipenv install --ignore-pipfile.
$ pipenv install
Pipfile.lock (555dca) out of date: run `pipfile lock` to update to (14165b)...
Running $ pipenv lock then $ pipenv sync.
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Locking [dev-packages] dependencies...
Updated Pipfile.lock (793cf11c853344d4cc8f42ede41e771eb6afaccce2510f7daf1efb578d14165b)!
Installing dependencies from Pipfile.lock (14165b)...
All dependencies are now up-to-date!
Installing dependencies from Pipfile.lock (14165b)...
If I run pipenv install --ignore-pipfile:
$ pipenv install --ignore-pipfile
Pipfile.lock (555dca) out of date: run `pipfile lock` to update to (14165b)...
Running $ pipenv lock then $ pipenv sync.
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Locking [dev-packages] dependencies...
Updated Pipfile.lock (793cf11c853344d4cc8f42ede41e771eb6afaccce2510f7daf1efb578d14165b)!
Installing dependencies from Pipfile.lock (14165b)...
All dependencies are now up-to-date!
Installing dependencies from Pipfile.lock (14165b)...
No difference at all.
If I want to install from Pipfile.lock and really ignore the Pipfile I can run pipenv sync:
$ pipenv sync
Installing dependencies from Pipfile.lock (555dca)...
All dependencies are now up-to-date!
The text was updated successfully, but these errors were encountered:
AVOID POSTING ISSUES UNDER THIS CATEGORY.
If Pipenv is not functioning as you would like it to, consider filing either a bug report, or a feature request instead.
Please refer to StackOverflow tag for more information.
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.$ pipenv --support
Pipenv version:
'2024.0.1'
Pipenv location:
'/home/wenzexu/.pyenv/versions/3.12.4/lib/python3.12/site-packages/pipenv'
Python location:
'/home/wenzexu/.pyenv/versions/3.12.4/bin/python3.12'
OS Name:
'posix'
User pip version:
'24.0'
user Python installations found:
PEP 508 Information:
System environment variables:
SHELL
SESSION_MANAGER
PYENV_HOOK_PATH
COLORTERM
PYENV_SHELL
NVM_INC
HISTCONTROL
XDG_MENU_PREFIX
TERM_PROGRAM_VERSION
CONDA_EXE
_CE_M
HOSTNAME
HISTSIZE
DOTNET_ROOT
SSH_AUTH_SOCK
WARP_USE_SSH_WRAPPER
MEMORY_PRESSURE_WRITE
XMODIFIERS
DESKTOP_SESSION
EDITOR
PYENV_VERSION
PWD
XDG_SESSION_DESKTOP
LOGNAME
XDG_SESSION_TYPE
SYSTEMD_EXEC_PID
XAUTHORITY
GJS_DEBUG_TOPICS
GDM_LANG
HOME
USERNAME
LANG
LS_COLORS
XDG_CURRENT_DESKTOP
MEMORY_PRESSURE_WATCH
WAYLAND_DISPLAY
WARP_HONOR_PS1
WARP_COMBINED_PROMPT_COMMAND_GRID
SSH_SOCKET_DIR
INVOCATION_ID
MANAGERPID
DOTNET_BUNDLE_EXTRACT_BASE_DIR
PYENV_DIR
GJS_DEBUG_OUTPUT
NVM_DIR
GNOME_SETUP_DISPLAY
XDG_SESSION_CLASS
TERM
_CE_CONDA
LESSOPEN
USER
CONDA_SHLVL
DISPLAY
SHLVL
NVM_CD_FLAGS
QT_IM_MODULE
CONDA_PYTHON_EXE
XDG_RUNTIME_DIR
PYENV_ROOT
DEBUGINFOD_URLS
WARP_IS_LOCAL_SHELL_SESSION
JOURNAL_STREAM
XDG_DATA_DIRS
PATH
GDMSESSION
DBUS_SESSION_BUS_ADDRESS
NVM_BIN
MAIL
GIO_LAUNCHED_DESKTOP_FILE_PID
GIO_LAUNCHED_DESKTOP_FILE
OLDPWD
TERM_PROGRAM
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/wenzexu/.pyenv/versions/3.6.15/bin:/home/wenzexu/.pyenv/versions/3.9.19/bin:/home/wenzexu/.pyenv/versions/3.12.4/bin:/home/wenzexu/.pyenv/versions/3.8.19/bin:/home/wenzexu/.pyenv/versions/3.7.17/bin:/home/wenzexu/.pyenv/versions/3.12.4/bin:/home/wenzexu/.pyenv/libexec:/home/wenzexu/.pyenv/plugins/python-build/bin:/home/wenzexu/.pyenv/plugins/pyenv-virtualenv/bin:/home/wenzexu/.pyenv/plugins/pyenv-update/bin:/home/wenzexu/.pyenv/plugins/pyenv-doctor/bin:/home/wenzexu/.pyenv/shims:/home/wenzexu/.pyenv/bin:/home/wenzexu/.nvm/versions/node/v20.15.0/bin:/home/wenzexu/miniconda3/condabin:/home/wenzexu/.local/bin:/home/wenzexu/bin:/home/wenzexu/.pyenv/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/wenzexu/.dotnet/tools:/home/wenzexu/.cargo/bin:/usr/local/bin:/home/wenzexu/.local/share/JetBrains/Toolbox/scripts:/home/wenzexu/.cargo/bin:/usr/local/bin:/home/wenzexu/.local/share/JetBrains/Toolbox/scripts
SHELL
:/bin/bash
EDITOR
:/usr/bin/nano
LANG
:zh_CN.UTF-8
PWD
:/home/wenzexu
My question is what is the use case of
pipenv install --ignore-pipfile
, to me, there is no difference betweenpipenv install
andpipenv install --ignore-pipfile
.For example:
If I run
pipenv install
:If I run
pipenv install --ignore-pipfile
:No difference at all.
If I want to install from
Pipfile.lock
and really ignore thePipfile
I can runpipenv sync
:The text was updated successfully, but these errors were encountered: