报错:ipykernel_launcher.py: error: unrecognized arguments: --f=/home/wangzhefan/.local/share/jupyter/runtime/kernel-v3a2f529781fa7bcb9c5881e4d67a2c58b59a3194f.json
解决办法:
在args = parser.parse_args()中添加args=[],即
args = parser.parse_args(args=[])
报错:ipykernel_launcher.py: error: unrecognized arguments: --f=/home/wangzhefan/.local/share/jupyter/runtime/kernel-v3a2f529781fa7bcb9c5881e4d67a2c58b59a3194f.json
解决办法:
在args = parser.parse_args()中添加args=[],即
args = parser.parse_args(args=[])