How to fix ipykernel_launcher.py: error: unrecognized arguments in jupyter? April 7, 2024 by Tarik A more elegant solution would be: args, unknown = parser.parse_known_args() instead of args = parser.parse_args()