先说解决办法————将目标文件夹赋予权限即可:

 sudo chmod -R 777 xxxxxx

然后输入密码。

我再重新安装python27的时候遇到了这个问题 pip install python2 时候报错信息如下:

creating build/temp.macosx-10.14-intel-2.7
    creating build/temp.macosx-10.14-intel-2.7/src
    creating build/temp.macosx-10.14-intel-2.7/src/wrapt
    cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/wrapt/_wrappers.c -o build/temp.macosx-10.14-intel-2.7/src/wrapt/_wrappers.o
    cc -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.14-intel-2.7/src/wrapt/_wrappers.o -o build/lib.macosx-10.14-intel-2.7/wrapt/_wrappers.so
    running install_lib
    creating /Library/Python/2.7/site-packages/wrapt
    error: could not create '/Library/Python/2.7/site-packages/wrapt': Permission denied
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/st/r_c40wz94cnf4c426r0lvp600000gn/T/pip-install-ZMSUBx/wrapt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/st/r_c40wz94cnf4c426r0lvp600000gn/T/pip-record-fAAmbu/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/st/r_c40wz94cnf4c426r0lvp600000gn/T/pip-install-ZMSUBx/wrapt/

error: could not create 'xxxxxx': Permission denied相关推荐

  1. nginx: [emerg] cannot load certificate SSL: error:0200100D:system library:fopen:Permission denied:fo

    换了SSL Cert之后,Nginx无法启动,发生如下错误. nginx: [emerg] cannot load certificate "/etc/nginx/ssl/test.crt& ...

  2. git操作时出现error: cannot stat 'path/file': Permission denied

    git操作时出现error: cannot stat 'path/file': Permission denied 问题发生OS 场景 尝试 解决 问题发生OS Windows 10 场景 公司的小妹 ...

  3. 解决tomcat在pycharm中的初始化报错“ Failed to transfer file”“could not create folder”“(Permission denied)”

    一.系统环境 客户端:Win10 1903:IDEA Ultimate 2020.1.3: 服务器:Ubuntu20:JDK1.8:Tomcat9.0.43 二.报错现象 运行Tomcat后,提示运行 ...

  4. adb: error: failed to copy ‘xx‘ to ‘xx‘: remote couldn‘t create file: Permission denied

    这个错误是使用adb push 文件的时候报错的, 权限被拒绝了, 可以使用 adb root adb remount 之后在adb push xx xx ,

  5. Git push error: Unable to unlink old (Permission denied)

    原文: https://stackoverflow.com/questions/11774397/git-push-error-unable-to-unlink-old-permission-deni ...

  6. 【评测机】评测时报错cc1plus: fatal error: /xx/xx/main.cpp: Permission denied compilation terminated.的解决方法...

    事情是这亚子发生的,原本建立评测机的时候就出现过这个问题,但莫名其妙就解决了. 报错的文件路径是位于docker内的,所以本质上这个错误是docker内的没有权限执行相关文件. 原因是centos7中 ...

  7. distcc 链接失败_distcc (dcc_execvp) ERROR: failed to exec XX: Permission denied

    首先先确保一下是不是能执行下面语句: # sudo -u nobody XX --version 如果能看见版本信息,则可以不用往下看. 再检查一下distccd.service # sudo cat ...

  8. git 报错fatal: cannot create directory at ‘../../..‘: Permission denied

    出现这种情况一般是我们使用git在某个分支开发删除了某个文件夹并且切换到另一个没删除该文件夹的分支后又切回来所以会提示cannot create directory Permission denied ...

  9. NPM 安装报 Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/xxxxxx‘

    NPM权限问题 最近作者在安装RN环境的时候遇到一个npm权限不足问题,具体报 Error: EACCES: permission denied, mkdir '/usr/local/lib/node ...

最新文章

  1. RabbitMQ 入门
  2. 怎么快速掌握一门新技术
  3. C++ Primer 5th笔记(chap 19 特殊工具与技术)type_info 类
  4. shell切割日志脚本
  5. 蔡成功贷款警示:没事别玩高利贷
  6. lamba把逗号拼接的字符串转为list
  7. php xdebug 教程视频_PHP Xdebug 是什么?
  8. How to Configure Eclipse for Python --- 在eclipse中如何配置pydev
  9. 自己构建React项目
  10. [转载] [转载] python set集合如何有序输出_python set集合的用法
  11. vCenter 或者 vmwareworkstation 虚拟机 安装vmware tools
  12. MATLAB函数拟合使用
  13. 使用XTU降低CPU功耗,自动执行不失效
  14. java 实现soa_Java实现SOA的标准途径
  15. Win11家庭版远程桌面不支持怎么办
  16. 【转】数据恢复WINHEX教程
  17. 使用echart的小指南
  18. POP3,全名为“Post Office Protocol - Version 3”,即“邮局协议版本3”
  19. Ubuntu 18.04.2 LTS Bionic Beaver 发布
  20. 黑苹果万能驱动神器 Hackintool 3.8.4中文版

热门文章

  1. C++学习笔记(更新)
  2. CentOS yum升级GCC到4.8
  3. RocketMQ (六) 主题-Topic
  4. 搜索引擎定向广告策略--以百度为例
  5. 关于自己制作的软件被杀毒软件误报的解决办法
  6. 敏捷结果30天之第三天:一日之计在于晨
  7. SqlPersistenceService持久化数据库
  8. 怎么才能戒烟最好的方法,这样戒烟最有效
  9. [零刻]EQ12EQ12Po安装Esxi后提示TPM无法建立连接,彻底关闭提示教程
  10. 杜克计算机工程本科专业申请,Duke-C同学斩获2015 杜克大学 计算机工程硕士Offer一枚...