pip install ipykernel
pip install jupyter
ipython kernel install --name chatglm3 --user然后注意项目里面的 demo_ci.py
IPYKERNEL = os.environ.get('IPYKERNEL', 'chatglm3')这个chatglm3要和install的名字对的上
参考资料:
https://github.com/ipython/ipython_genutils/issues/3
https://stackoverflow.com/questions/31397421/ipython-server-cant-launch-no-module-named-notebook-notebookapp