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
同样的错误!
任何想法可能是什么原因造成的?真气! :(帮助表示感谢。
答案 0 :(得分:0)
尝试:
sudo pip install jupyterlab
答案 1 :(得分:0)
为什么不尝试使用JupyterLab安装miniconda?
安装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