** Pipfile ** is not created in the current directory when creating a virtual environment with pipenv

parent
└── child ← I want to create in this directory, but it is created in the "parent" directory?
Because ** Pipfile ** existed in the parent directory. It seems that if it exists in the parent directory, it will look in the parent directory ...
If you don't need the Pipfile in the parent directory,
Execute the command to create the virtual environment again after deleting it.
Or, even if Pipfile exists in the parent directory by creating a virtual environment with the following command
Pipfile is created in the current directory.
PIPENV_NO_INHERIT=True pipenv --python 3
Recommended Posts