Python中文
首页
教程
问答
标签
搜索
登录
注册
当conda install Django时,PermissionError(13,“Permission denied”)
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>当我运行<code>conda install django</code>时,得到以下错误:</p> <blockquote> <p>Solving environment: done</p> <p>==> WARNING: A newer version of conda exists. <== </p> <p>current version: 4.4.10 </p> <p>latest version: 4.4.11</p> <p>Please update conda by running</p> <pre><code>$ conda update -n base conda </code></pre> <p>## Package Plan ##</p> <p>environment location: /opt/anaconda/anaconda3</p> <p>added / updated specs: - django</p> <p>The following NEW packages will be INSTALLED:</p> <pre><code>django: 2.0.2-py36hd476221_0 </code></pre> <p>Proceed ([y]/n)? y</p> <p>Preparing transaction: done</p> <p>Verifying transaction: done</p> <p>Executing transaction: failed</p> <p>ERROR conda.core.link:_execute(481): An error occurred while installing package 'defaults::django-2.0.2-py36hd476221_0'. PermissionError(13, 'Permission denied') Attempting to roll back.</p> <p>Rolling back transaction: done</p> <p>PermissionError(13, 'Permission denied')</p> </blockquote> <p>我该怎么办?</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>权限被拒绝。。这可能是因为您没有以根用户身份运行命令。尝试以超级管理员的身份运行您的命令</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
想用靓汤抢夺价值
5 回答
想申请一份符合工作描述的简历吗
9 回答
想画网格,Python
3 回答
想白痴化我的Python战舰
1 回答
想看两列日期,但只上
3 回答
想看看我写的这个脚本读一个Fortran二进制fi吗
6 回答
想知道Django是如何实现ORM查询优化的吗
6 回答
想知道GeoDjango和地图服务吗
5 回答
想知道Image.resize操作在PIL文件中的详细工作方式吗
5 回答
想知道matplotlib pyplot为什么不调整边距
3 回答
想知道matplotlib颜色的颜色代码吗
1 回答
想知道pd.factorize,pd.get_dummies,sklearn.preprocessing.labeencoder和OneHotEncod之间的区别
6 回答
想知道property()在python中的实际用法吗
5 回答
想知道pyodidejs是如何工作的吗?
3 回答
想知道pyparsing==2.0.1的已完成处理依赖关系
5 回答
想知道ScikitLearn中的编码算法吗
10 回答
想知道VTK 5.04和VTK 5.4.2的vtkMassProperties差异吗
8 回答
想知道一个特定字符在一个特定句子中出现的次数吗
7 回答
想知道两个不同子集的重叠中有多少个对象吗
1 回答
想知道为什么is_素数函数的结果不正确吗
10 回答