2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

pipenv install時に"AttributeError: 'NoneType' object has no attribute 'url'"が出た際の対処法

Posted at

pipenv install -devを実行して、次のエラーが出た。

AttributeError: 'NoneType' object has no attribute 'url'

(このエラーの前に、Successfully created virtual environment!というメッセージと長いスタックトレースが表示されています。)

原因は、--devではなく-devと入力したためでした・・・。
develop packageをインストールする際に使うオプションは--devもしくは-dです。

参考:https://github.com/pypa/pipenv/issues/4582#issuecomment-896343811

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?