How Do You Troubleshoot the pipenv error message “tomlkit.exception”?

Problem scenario
You try to run a pipenv command, but you get an error about "tomlkit.exception".

Solution
Copy the Pipfile to a new name (to back it up). Delete the original Pipfile. Try to run the command again. If it still fails, try removing pipenv by uninstalling it. Then reinstall pipenv. Then reboot the computer.

Leave a comment

Your email address will not be published. Required fields are marked *