diff --git a/pipenv/cli.py b/pipenv/cli.py index 807b2c6a..2cbbad69 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -546,7 +546,7 @@ def check(): click.echo(crayons.yellow('Checking PEP 508 requirements...')) # Run the PEP 508 checker in the virtualenv. - c = delegator.run('{0} {1}'.format(which('python'), pep508checker.__file__)) + c = delegator.run('{0} {1}'.format(which('python'), pep508checker.__file__.rstrip('cd'))) results = json.loads(c.out) # Load the pipfile.