Skip to content

Commit

Permalink
Provide a good message for error described in issue pypa#2846
Browse files Browse the repository at this point in the history
  • Loading branch information
jr7square authored and jr7square committed Oct 5, 2018
1 parent 02be875 commit 0f380b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1675,6 +1675,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(
Expand Down

0 comments on commit 0f380b3

Please sign in to comment.