diff --git a/news/5636.bugfix.rst b/news/5636.bugfix.rst new file mode 100644 index 0000000000..816c058e24 --- /dev/null +++ b/news/5636.bugfix.rst @@ -0,0 +1 @@ +Fix import error in virtualenv utility for creating new environments caused by ``2023.3.18`` release. diff --git a/pipenv/utils/virtualenv.py b/pipenv/utils/virtualenv.py index c6a885ceae..0bdc8fb0f9 100644 --- a/pipenv/utils/virtualenv.py +++ b/pipenv/utils/virtualenv.py @@ -254,7 +254,7 @@ def abort(msg=""): err=True, ) # check for python installers - from .installers import Asdf, InstallerError, InstallerNotFound, Pyenv + from pipenv.installers import Asdf, InstallerError, InstallerNotFound, Pyenv # prefer pyenv if both pyenv and asdf are installed as it's # dedicated to python installs so probably the preferred