pipenv install does not create two new files, Pipfile and Pipfile.lock
See original GitHub issueBe sure to check the existing issues, both open and closed.
I ran pipenv install
into existing django 1.11 project, but it does not create two new files, Pipfile and Pipfile.lock, in project directory. However a new virtual environment is created.
Describe your environment
- OS Type - Ubuntu 16
- Python version:
$ python3 -V
3.5.2 - Pipenv version:
$ pipenv --version
version 9.0.1
Expected result
This should create two new files, Pipfile and Pipfile.lock, in project directory
Actual result
pipenv install
Creating a virtualenv for this project…
Using /usr/bin/python3.5m to create virtualenv…
⠋Running virtualenv with interpreter /usr/bin/python3.5m
Using base prefix '/usr'
New python executable in /home/muhammadtaqi/.local/share/virtualenvs/projects-3nzJ4ToY/bin/python3.5m
Also creating executable in /home/muhammadtaqi/.local/share/virtualenvs/projects-3nzJ4ToY/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /home/muhammadtaqi/.local/share/virtualenvs/projects-3nzJ4ToY Installing dependencies from Pipfile.lock (b5430f)…
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 6/6 — 00:00:00
To activate this project's virtualenv, run the following:
$ pipenv shell
It creates Pipfiiles in one directory upto the project directory. in /home/muhammadtaqi/project
directory
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
- Clone this https://github.com/muhammadtaqi/django-boilerplate
- Run pipenv install --three
Issue Analytics
- State:
- Created 6 years ago
- Comments:9
Top Results From Across the Web
Pipenv not creating Pipfile and not creating environment in ...
After deleting the Pipfile and the Pipfile.lock from the home directory ~/ I was able to create a new virtual environment without conflict....
Read more >Common Pipenv Errors and How to Solve Them: Why Won't it ...
Locking Issue: Pipfile Contains a Reference to an Inexistent Package ... Pipfile won't lock when it tries to install packages that don't exist,...
Read more >Basic Usage of Pipenv - Read the Docs
--dev — Install both develop and default packages from Pipfile . · --system — Use the system pip command rather than the one...
Read more >Use Pipfile | PyCharm Documentation - JetBrains
lock file. So, any requirement added to Pipfile but not locked will be ignored. Let us select the pipenv update command to install...
Read more >Basic Usage of Pipenv
Do not keep Pipfile.lock in version control if multiple versions of Python are ... To create a new virtualenv, using a specific version...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not sure, but in my case it generated the files one directory up from the project, I manually deleted those files and then again run
pipenv install
, then it generates in the directory i was running the command.Thanks !