Error while installing Modules using pipenv


#1

I have taken the Django app’s code and tried following the instructions given in the readme file. While executing the command : pipenv install, I got the below error. Having better instructions on how to address commonly faced errors can help the users in a better way to get unblocked quickly.

Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
env/utils.py", line 402, in resolve_deps
req_dir=req_dir
File “/usr/local/lib/python3.6/dist-packages/pipenv/utils.py”, line 250, in actually_resolve_deps
req = Requirement.from_line(dep)
File “/usr/local/lib/python3.6/dist-packages/pipenv/vendor/requirementslib/models/requirements.py”, line 704, in from_line
line, extras = _strip_extras(line)
TypeError: ‘module’ object is not callable


#2

This is an issue with older versions of pipenv. We’ve tested and confirmed it works with the latest version. Please upgrade pipenv to fix this problem.

Let us know if you have any additional problems.


#3

We’ve gone ahead and updated the README to include this requirement. Thanks!