$ python -m venv projectname $ source projectname/bin/activate (venv) $ pip install ipykernel (venv) $ ipython kernel install --user --name=projectname 来源:https://www.cnblogs.com/superxuezhazha/p/11672852.html 标签 virtual notebook