Jupyter command 'jupyter-lap' not found

用pip install jupyter后,再pip install jupyterlap,结果输入jupyter lap会出现Jupyter command `jupyter-lap` not found问题

按网上的教程来看

输入python -m pip install jupyterlab后

再输入jupyter lap能成功运行

而且每次都要这样才行

为什么?有什么方法解决吗?

还有总是出现这个警告(pip install jupyter也会出现)是什么原因?

解决方法:

1、python -m pip install --upgrade pip ps:第一种方法可能报错,然后请尝试第二种方法

2、python -m pip install -U pip