将虚拟环境的python解释器添加到jupyter notebook的内核 123456print('he')cmd进入虚拟环境(torch_env)activate torch_envpip install ipykernel ipythonipython kernel install --user --name torch_env再次进入jupyter notebook