`

Mac OS X 10.11.5 pip install getting Operation Not Permitted error

阅读更多

The new versions of Mac Os come with high restrictions on what you can do and is called: System Integrity Protection.

There is unfortunately not much we can do about that, and anyway the reason for System Integrity Protections seem to be reasonable.

Plus usually you do not want to install things systemwide, there is no reason to use sudo in front ofpip. If you don't have the permissions, there is likely a good reason.

You should be able to install any packages as user by using the --user:

pip install ipython --user

Which will have the advantage of installing in your home, where you have ~0 chance of breaking your system. Moreover it will not require you to use sudo that you shouldn't have to use anyway.

I would also encourage you to not use system-python on a mac:
1) It's never up to date, and is linked weirdly with some binary libraries
2) It's Python2.7, which will not be supported anymore soon

Prefer brew install python/brew install python3 that have complete separate Python installation that do not require sudo either. Or, anaconda that does the same, support multiple environment, and have binary of many python packages that Homebrew lacks.

分享到:
评论

相关推荐

    OS X EI Capitan 10.11.5

    OS X EI Capitan 10.11.5 百度盘下载

    suica-dump:丢掉Suica历史的那一款

    这是? 转储Suica历史。在上可以找到(部分)转储值的明细。 我正在使用 。建造请不要使用OSX。 brew tap temmings/altbrew install libpafemake移动环境Mac OS X 10.11.5 libusb-1.0.20 libpafe-0.0.8 索尼

    dynhost:节点应用程序使用当前IP地址或指定的IP地址修改A或AA DNS记录

    在Mac OS X 10.11.5的节点v.5.10.1下进行了测试在Ovh API上的有效应用程序令牌请参见: 建议:如果您创建的是应用而非令牌,则必须继续执行下一步以生成“消费者密钥”。 代币 您只需添加--credentials参数,即可...

    联想K29 成功引导的EFI HD4000 黑苹果CLOVER MAC 10.11

    联想K29 I3 3110M 成功引导的EFI HD4000 黑苹果CLOVER MAC 10.11.5

    Android日程管理系统实训报告.doc

    2.1.2软件支持 操作系统: Mac OS X 10.11.5 编程语言:JAVA 数据库: SQLite 开发工具: Android Studio 2.2 系统开发技术 2.2.1 java 简介 背景: Java是一种应用分布式网络环境中的程序设计语言,由sun公司开发,...

    Android日程管理系统实训报告.docx

    2.1.2软件支持 操作系统: Mac OS X 10.11.5 编程语言:JAVA 数据库: SQLite 开发工具: Android Studio 2.2 系统开发技术 2.2.1 java 简介 背景: Java是一种应用分布式网络环境中的程序设计语言,由su

    Alienware 14 R3 Clover更新版-intel

    目前OS 10.11.5在用的 Alienware 14 R3 Clover 3561 启动版本,配置为核显,独显只需修改 为IntjetNivdia即可,可适用于安装,

    Windows环境下使用Clover四叶草引导双硬盘安装OSX 10.11.5原版镜像-附件资源

    Windows环境下使用Clover四叶草引导双硬盘安装OSX 10.11.5原版镜像-附件资源

    SecureCRT 7.2 For macOS sierra 破解版

    SecureCRT 7.2 For mac,Mac10.9、EI Caption 10.11.5 macOS sierra 10.12.3 亲测可用

    ecx-benchmarks:ECX库的基准

    MacBook Pro (OSX 10.11.5) Intel Core i7 (2.8 GHz, 4 Cores) L2 Cache: 256 KB L3 Cache: 6 MB Memory: 16 GB haxe: 3.3.0rc1 swf/js: Google Chrome 52.0.2743.116 (64-bit) node: v6.2.2 java: v1.8.0_92 cs: ...

    ofxHAPAVPlayer:与setSpeed

    xHAPAVPlayer ... 在我的MacBook Pro(2013年初,El Capitan 10.11.5)上,我可以流畅地播放大约200+ 100 x 100的视频或15+ 1920 x 1080的视频,同时仍在加载新视频并每40毫秒寻求随机帧。 要使用

    微星黑苹果驱动

    MSI B150I主板,i5 6500CPU 这是UEFI启动方式中的Clover-EFI配置文件,集成了HD530 核显驱动和RTL81111h 千兆网卡驱动,MACOS 10.11.5版本,10.11.4也可用。一般第6带intel-CPU都能驱动。如果跟我配置一样的话可以...

    mariadb-10.11.2-linux-systemd-x86-64.tar.gz

    MariaDB数据库管理系统是MySQL的一个分支

    FIDO对Safari的U2F支持。-Swift开发

    下载最新版本运行它退出Safari(如果已打开)单击“打开Safari首选项”启用Safari FIDO U2F扩展程序此扩展程序需要macOS 10.12和更高版本,或macOS 10.11.5和Safari10。支持的站点FIDO U2F规范定义了高级javascript ...

    深入理解计算机系统(英文版)

    Contents Preface i 1 Introduction 1 1.1 Information isBits inContext . . . . . . ....1.2 Programs areTranslated byOtherPrograms intoDifferent Forms ....1.3 ItPays toUnderstandHowCompilation SystemsWork ....

    C#教程(语言规范)

    x C#语言规范 7.15.2 匿名函数体... 183 7.15.3 重载决策 184 7.15.4 外层变量 185 7.15.4.1 捕获的外层变量 ... 185 7.15.4.2 局部变量实例化 ... 186 7.15.5 匿名函数表达式的计算 188 7.16 查询表达式 ......

    C# 语言规格说明(English Edition第五版)

    6.4.1 Permitted user-defined conversions 119 6.4.2 Lifted conversion operators 120 6.4.3 Evaluation of user-defined conversions 120 6.4.4 User-defined implicit conversions 121 6.4.5 User-defined ...

    C#语言规范(4.0版本)

    Microsoft(微软)C#语言规范4.0版本,非常值得大家学习收藏! 目录 1. 简介 1 1.1 Hello world 1 1.2 程序结构 2 1.3 类型和变量 3 1.4 表达式 6 1.5 语句 8 1.6 类和对象 12 1.6.1 成员 12 1.6.2 可访问性 13 ...

    微软C#语言规范,C#语言教程中文版

    目录 1. 简介 1 1.1 Hello world 1 1.2 程序结构 2 1.3 类型和变量 3 1.4 表达式 6 1.5 语句 8 1.6 类和对象 12 1.6.1 成员 12 1.6.2 可访问性 13 1.6.3 类型参数 13 1.6.4 基类 14 ...10.7.3 自动实现...

Global site tag (gtag.js) - Google Analytics