简体   繁体   English

OSError:[Errno 1]在Mac上安装python quandl时不允许进行操作

[英]OSError: [Errno 1] Operation not permitted when installing python quandl on mac

i use following line to install quandl (python) on mac: 我使用以下行在Mac上安装quandl(python):

sudo -H pip install quandl

but there are a lot of errors: if you can't see clealy,i made a clip you can click: 1 但是有很多错误:如果看不清,我做了一个剪辑,您可以单击: 1

Found existing installation: numpy 1.8.0rc1 DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. 找到现有安装:numpy 1.8.0rc1弃用:不建议卸载distutils安装的项目(numpy),并且在以后的版本中将其删除。 This is due to the fact that uninstalling a distutils project will only partially uninstall the project. 这是由于以下事实:卸​​载distutils项目只会部分卸载该项目。 Uninstalling numpy-1.8.0rc1: Exception: 卸载numpy-1.8.0rc1:例外:

Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
    copy2(src, real_dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
    copystat(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
    os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/tmp/pip-RgO913-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy-1.8.0rc1-py2.7.egg-info'

Try using ' sudo pip install --ignore-installed quandl ' instead. 尝试使用“ sudo pip install --ignore-installed quandl ”代替。

This --ignore-installed flag will sort things out! 这个--ignore-installed标志将解决问题!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 mac 中安装 opencv-python 时,OSError: [Errno 1] Operation not allowed - When install opencv-python in mac, OSError: [Errno 1] Operation not permitted OSError:[Errno 1]不允许操作 - OSError: [Errno 1] Operation not permitted OSError: [Errno 1] 不允许操作: - OSError: [Errno 1] Operation not permitted: 在 OSX 10.11 (El Capitan)(系统完整性保护)中安装 Scrapy 时出现“OSError: [Errno 1] Operation not allowed” - "OSError: [Errno 1] Operation not permitted" when installing Scrapy in OSX 10.11 (El Capitan) (System Integrity Protection) Mac:OSError:[Errno 1]不允许操作:'/ tmp / pip-XcfgD6 - Mac: OSError: [Errno 1] Operation not permitted: '/tmp/pip-XcfgD6 在macOS上安装virtualenvwrapper错误:[Errno 1]不允许的操作: - Install virtualenvwrapper on mac- OSError: [Errno 1] Operation not permitted: Python Celery init.d脚本OSError:[Errno 1]不允许操作 - Python Celery init.d script OSError: [Errno 1] Operation not permitted 'OSError:[Errno 1]不允许操作'尝试更新pandas / numpy时 - 'OSError: [Errno 1] Operation not permitted' When trying to update pandas/numpy 在macOS上下载熊猫时出现“ OSError:[Errno 1]不允许操作”错误 - “OSError: [Errno 1] Operation not permitted” error when downloading Pandas on macOS 在 Mac 上的 python 中创建一个新的 .py 文件但得到 [Errno 1] 不允许操作 - Creating a new .py file in python on a mac but getting [Errno 1] Operation not permitted
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM