Pipenv: CLI is broken with v6.2.1 on my mac right now

Created on 10 Sep 2017  路  3Comments  路  Source: pypa/pipenv

pipenv install --three
Sat Sep 9 23:02:15 2017
Traceback (most recent call last):
File "/Users/erin/.local/bin/pipenv", line 7, in
from pipenv import cli
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/__init__.py", line 13, in
from .cli import cli
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/cli.py", line 82, in
project = Project()
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/project.py", line 33, in __init__
os.chdir(self.project_directory)
File "/Users/erin/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/project.py", line 49, in project_directory
return os.path.abspath(os.path.join(self.pipfile_location, os.pardir))
File "/Users/erin/.local/venvs/pipenv/bin/../lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Type

Most helpful comment

deployed

All 3 comments

Same here on Ubuntu 16.04

Edit: Installing pipenv with pip3 solved it

fix already landed in master

deployed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jacebrowning picture jacebrowning  路  3Comments

AkiraSama picture AkiraSama  路  3Comments

ipmb picture ipmb  路  3Comments

jacek-jablonski picture jacek-jablonski  路  3Comments

leileigong picture leileigong  路  3Comments