[PYTHON] Pipfile is not created in the current directory

Event

** Pipfile ** is not created in the current directory when creating a virtual environment with pipenv スクリーンショット 2020-02-05 0.40.10.png

parent
└── child ← I want to create in this directory, but it is created in the "parent" directory?

Cause

Because ** Pipfile ** existed in the parent directory. It seems that if it exists in the parent directory, it will look in the parent directory ...

Correspondence

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

Reference site

Recommended Posts

Pipfile is not created in the current directory
Start the web server in the current directory
About the matter that nosetests does not pass when __init__.py is created in the project directory
Launch an HTTP server in the current directory
When the selected object in bpy.context.selected_objects is not returned
How to know the current directory in Python in Blender
Test.py is not reflected on the web server in Python3.
[Python] Check the current directory, move the directory
Command is not found in sudo
Command for the current directory Python
[Golang] "package exec is not in GOROOT" when executing the test
Pin current directory to script directory in Python
Verbose is not turned off in LightGBM
The one who is not on DVD
What is "mahjong" in the Python library? ??
google-images-download folder is created but not downloaded
When the target is Ubuntu 16.04 in Ansible
[Learning memo] Create if the directory does not exist / Get the files in the directory
Install the Python module in any directory
The update of conda is not finished.
Publish the current directory on the web server
Is there NaN in the pandas DataFrame?
The date is displayed incorrectly in matplotlib.
[pandas] When specifying the default Index label in the at method, "" is not required
What is the reason why the basic commands are not displayed in Japanese in man?
Extract only the file name excluding the directory in the directory
Access files in the same directory as the executable
What is wheezy in the Docker Python image?
When searching is not working in GAE's Datastore
The value of pyTorch torch.var () is not distributed
About the difference between "==" and "is" in python
PyQtGraph may not be available in the interpreter.
Unzip all zip files under the current directory
Current directory structure
What to do when is not in the sudoers file.This incident will be reported.
Solve the problem that CSS is not reflected during web application development in Flask
What to do if the progress bar is not displayed in tqdm of python
Check if the string is a number in python
When "Message: session not created" occurs in Python + Selenium
Linux is something like that in the first place
What is the domain attribute written in Plotly's Layout?
Check if it is Unix in the scripting language
Find the part that is 575 from Wikipedia in Python
Embedding in datetime when only the time is known
Not being aware of the contents of the data in python
Determine if an attribute is defined in the object
Check if it is Unix in the scripting language
When "ERROR: HTTP is not supported." Is displayed in mpsyt
Do not pass self to ProcessPoolExecutor in the class
The story that yapf did not work in vscode
What to do if the image is not displayed using matplotlib etc. in the Docker container
The image is displayed in the local development environment, but the image is not displayed on the remote server of VPS
Gtk-ERROR **: 04: 28: 17.451: GTK + 2.x symbols detected. Using GTK + 2.x and GTK + 3 in the same process is not supported error
[VLC] How to deal with the problem that it is not in the foreground during playback