[英]Jupyter notebook - can't install
pip install jupyterlab --user
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Users/xxx/Library/Python/2.7'
Check the permissions.
不工作。
所以我尝试了
pip install --user jupyter
同样的错误:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Users/xxx/Library/Python/2.7'
所以我尝试了
pip install jupyterlab
同样的错误!!
知道可能是什么原因造成的吗? 真气:.(帮助表示赞赏。
尝试:
sudo pip install jupyterlab
为什么不尝试使用miniconda 安装 JupyterLab ?
安装 miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-4.5.4-MacOSX-x86_64.pkg
export PATH="/miniconda3/bin:/miniconda3/share/jupyter/lab/staging/node_modules/.bin:$PATH"
创建 Conda Env 并安装 JupyterLab
source ~/.bash_profile
conda create -n jlab python=3.6.8 jupyterlab
conda activate jlab
conda install -c conda-forge jupyterlab=2
启动服务器
jupyter lab
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.