mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Provide a good message for error described in issue #2846
This commit is contained in:
@@ -1775,6 +1775,9 @@ def do_install(
|
||||
# Don't search for requirements.txt files if the user provides one
|
||||
if requirements or package_args or project.pipfile_exists:
|
||||
skip_requirements = True
|
||||
# Don't attempt to install develop and default packages if Pipfile is missing
|
||||
if not project.pipfile_exists and not packages and dev:
|
||||
click.echo("Could not find Pipfile.", err=True)
|
||||
concurrent = not sequential
|
||||
# Ensure that virtualenv is available.
|
||||
ensure_project(
|
||||
|
||||
Reference in New Issue
Block a user