conda安装报错:PermissionError [Errno 13] Permission denied

简介: conda安装报错:PermissionError [Errno 13] Permission denied

Anaconda创建环境,激活环境 conda create,keras安装失败:

PermissionError [Errno 13] Permission denied

Anaconda创建虚拟环境:

conda create -n my_root

Linux激活环境:

source activate my_root

anaconda1.png

Windows下激活环境:

activate my_root

安装keras:

conda install keras

查看是否安装成功:

python
import keras

anaconda2.png

则安装成功

若出现缺少库的程序报错,例如:ModuleNotFoundError: No module named 'matplotlib'

则安装相应的库:

conda install matplotlib

学习更多编程知识,请关注我的公众号:

代码的路

相关文章
|
7月前
Error: listen EACCES: permission denied 0.0.0.0:80
Error: listen EACCES: permission denied 0.0.0.0:80
|
6天前
|
安全 数据安全/隐私保护 开发者
【Python】 已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\i
【Python】 已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\i
21 11
【Python】 已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\i
|
24天前
|
安全 Unix 网络安全
Permission Denied原因及解决方法
Permission Denied原因及解决方法
|
2月前
|
Python
【报错】Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/METADATA‘
【报错】Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/METADATA‘
32 0
|
Android开发
安装应用提示安装失败或不能安装,报INSTALL_FAILED_DUPLICATE_PERMISSION错误
安装应用提示安装失败或不能安装,报INSTALL_FAILED_DUPLICATE_PERMISSION错误
|
应用服务中间件 nginx
【报错集锦】mkdir(): Permission denied
【报错集锦】mkdir(): Permission denied
794 0
【报错集锦】mkdir(): Permission denied
|
Linux
linux 下 root 权限执行 npm install 报错:Error:EACCES:permission denied ‘xxx‘?
linux 下 root 权限执行 npm install 报错:Error:EACCES:permission denied ‘xxx‘?
245 0
linux 下 root 权限执行 npm install 报错:Error:EACCES:permission denied ‘xxx‘?
|
开发者 Python
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
371 0
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
|
开发工具 git
error: could not lock config file .git/config: Permission denied/Command failed with exit 255
error: could not lock config file .git/config: Permission denied/Command failed with exit 255
334 0
|
Linux API PHP
php遇到failed to open stream: Permission denied
php遇到failed to open stream: Permission denied
669 0