如果用listings也是可以解决的:
listings
;; mapping jupyter-python to Python (add-to-list 'org-latex-listings-langs '(jupyter-python "Python"))