ResourceWarning when pipenv install --python 3.11 -r requirements.txt #6155
Labels
Contributor Candidate
The issue has been identified/triaged and contributions are welcomed/encouraged.
Type: Duplicate
This issue is a duplicate of an already-existing issue.
Issue description
When running the command: pipenv install --python 3.11 -r requirements.txt
I keep getting a ResourceWarning
Actual result
Creating a Pipfile for this project...
Requirements file provided! Importing into Pipfile...
/usr/local/Cellar/[email protected]/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/email/feedparser.py:473: ResourceWarning: unclosed file <_io.FileIO name='/var/folders/_v/pf108g9d54787vxcmfrw8txm0000gn/T/tmpgfcmgvsr' mode='rb+' closefd=True>
for lineno, line in enumerate(lines):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
$ pipenv --support
Pipenv version:
'2023.12.1'
Pipenv location:
'/usr/local/Cellar/pipenv/2023.12.1/libexec/lib/python3.12/site-packages/pipenv'
Python location:
'/usr/local/Cellar/pipenv/2023.12.1/libexec/bin/python'
OS Name:
'posix'
User pip version:
'23.3.2'
user Python installations found:
PEP 508 Information:
System environment variables:
PYENV_ROOT
TERM
SHELL
TMPDIR
TERM_SESSION_ID
USER
COMMAND_MODE
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
PATH
TERMINAL_EMULATOR
__CFBundleIdentifier
PWD
LANG
XPC_FLAGS
XPC_SERVICE_NAME
PYENV_SHELL
SHLVL
HOME
IDEA_INITIAL_DIRECTORY
LOGNAME
LC_CTYPE
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Users/juan19.99/.pyenv/versions/3.11.0/bin:/Users/juan19.99/.pyenv/versions/3.10.10/bin:/Users/juan19.99/.pyenv/shims:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/juan19.99/.local/bin:/usr/local/mysql/bin
SHELL
:/bin/bash
LANG
:en_US.UTF-8
PWD
:/Users/juan19.99/Documents/projects/ML-Zero-To-Hero
Contents of
Pipfile
('/Users/juan19.99/Documents/projects/ML-Zero-To-Hero/Pipfile'):The text was updated successfully, but these errors were encountered: