Python 使用Conda安装(模块“Nglview”安装时出现错误13

Python 使用Conda安装(模块“Nglview”安装时出现错误13,python,anaconda,Python,Anaconda,我在尝试从conda forge频道安装nglview包时遇到以下错误 在我的mdaenv中,我在终端上使用以下行安装nglview:conda安装-c conda forge nglview Executing transaction: | WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mda

我在尝试从conda forge频道安装nglview包时遇到以下错误

在我的
mdaenv
中,我在终端上使用以下行安装nglview:
conda安装-c conda forge nglview

Executing transaction: | WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/ipython_genutils/__init__.py.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/pickleshare-0.7.5.dist-info/INSTALLER.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/ptyprocess-0.6.0.dist-info/INSTALLER.  Please remove this file manually (you may need to reboot to free file handles)
/ WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/appnope-0.1.0.dist-info/INSTALLER.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/pexpect-4.8.0.dist-info/INSTALLER.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/zmq/__init__.pxd.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/traitlets-4.3.3.dist-info/COPYING.md.  Please remove this file manually (you may need to reboot to free file handles)
- WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/jupyter_core-4.6.3.dist-info/COPYING.md.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/jupyter_client-6.1.7.dist-info/COPYING.md.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/sdtruong/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/Pygments-2.7.2.dist-info/AUTHORS.  Please remove this file manually (you may need to reboot to free file handles)
\ WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/wcwidth-0.2.5.dist-info/INSTALLER.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/IPython/__init__.py.  Please remove this file manually (you may need to reboot to free file handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(140): Could not remove or rename /Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/ipykernel-5.3.4.dist-info/COPYING.md.  Please remove this file manually (you may need to reboot to free file handles)
done
ERROR conda.core.link:_execute(700): An error occurred while installing package 'conda-forge::ipython_genutils-0.2.0-py_1'.
Rolling back transaction: done

[Errno 13] Permission denied: '/Users/user/opt/anaconda3/envs/mdaenv/lib/python3.6/site-packages/ipython_genutils/__init__.py'
我正试图在名为
mdaenv
的Anaconda环境中安装这些软件包

安装时,我确实会收到一个
继续[y/n]
提示。此外,我还试着做了
conda clean--all
,但也不起作用。有解决此错误的方法吗