我需要安装一些软件包. 无论我尝试什么方向,情况只会变得更糟.
I need some packages to be installed. No matter what direction I try, it only gets worse.
请帮助.
40:497:执行错误:目录 '/Users/doekewartena/Library/Caches/pip/http'或其父目录 不属于当前用户,并且缓存已被禁用. 请检查该目录的权限和所有者.如果执行 与sudo保持一致,您可能需要sudo的-H标志.目录 '/Users/doekewartena/Library/Caches/pip'或其父目录为 不属于当前用户,并且已禁用缓存轮. 检查该目录的权限和所有者.如果执行点子 使用sudo时,您可能需要sudo的-H标志.找不到版本 满足需求路径(从版本:)无匹配项 找到路径(1)的分布
40:497: execution error: The directory '/Users/doekewartena/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/doekewartena/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Could not find a version that satisfies the requirement path (from versions: ) No matching distribution found for path (1)
推荐答案
您是否为用户检查了文件权限包?
Did you check file permissions pack for your user ?
您可以运行以下命令将目录(/Users/doekewartena/Library/Caches/pip)的所有权更改为当前用户(doekewartena):
You can run the below command to change the ownership of directory (/Users/doekewartena/Library/Caches/pip) to your current user (doekewartena) :
$ sudo chown -R doekewartena /Users/doekewartena/Library/Caches/pip更多推荐
PyCharm:安装软件包失败
发布评论