[PYTHON] Are you having trouble with "pipenv.exceptions.ResolutionFailure"?

pipenv error

If you pipenv install a non-existent package, it will be written to the Pipfile and you will get an error when you do pipenv ~ thereafter.

#Frequent errors
pipenv.exceptions.ResolutionFailure

solution

Manually delete the non-existent package name written in Pipfile.

Common causes

Personally, it often happens due to typing mistakes.

Example

  1. pipenv install pandsa ← You made a typing mistake.
  2. "Oh, I was wrong" and run pipenv install pandas with the correct package name.
  3. pipenv.exceptions.ResolutionFailure error occurred.

Other

I would appreciate it if you could tell me if there is a better way.

Recommended Posts

Are you having trouble with "pipenv.exceptions.ResolutionFailure"?
I'm having trouble with Django's Twitter authentication
If you are having trouble with timeouts when implementing Slack's SlashCommand in Python on AWS Lambda
What are you comparing with Python is and ==?
What are you using when testing with Python?
For Debian users who are having trouble with a bug in the Linux kernel 5.10
Where are you from
Explanation for those who are having trouble with "command not found" in rbenv or pyenv
I'm having trouble with instance variables being inherited in Python
For those who are having trouble drawing graphs in python
Hit Yahoo Answers when you have trouble with blog material
Checking if you are Sudoku
When you are persistently asked for your Login password with fabric