search

Home  >  Q&A  >  body text

python - MAC安装pyspider无法获取权限被拒绝

大家讲道理大家讲道理2911 days ago599

reply all(6)I'll reply

  • 阿神

    阿神2017-04-18 10:07:17

    I have not installed it, but if the permissions are insufficient, I should just add sudo.

    What are you talking about that it cannot run? Can you provide the source code for your operation?

    Open python on the command line and try import to see if there is an error

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 10:07:17

    Try upgrading your mac system and try installing it again. I once encountered insufficient permissions when brew installed related software, and then upgraded it.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:07:17

    Well, just add sudo before the installation command and execute it with the permissions of the system administrator.

    For example: sudo npm -install xxxx (Press Enter to execute)

    Then enter the system administrator password

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:07:17

    My friend solved it this way, but mine still doesn’t work. COMMAND NOT FOUND. I searched for ways to solve the problem:
    2. Why does it prompt "COMMAND NOT FOUND" when I enter "csrutil disable"?
    Because your RECOVERY partition is not version 10.11, there is no csrutil in the /usr/bin directory.

    Solution:
    ①. Download Recovery Partition Creator 3.8, address: Recovery Partition Creator 3.8

    Then download the installation package of "El Capitan" from the AppStore.

    ②. Run Recovery Partition Creator 3.8 and load the installation package of "El Capitan" in one step

    ③.Restart

    But there is a charge for the installation package in the Apple Store
    Author: Brian Kwon
    Link: https://www.zhihu.com/questio...
    Source: Zhihu
    The copyright belongs to the author. Please contact the author for authorization for reprinting.

    reply
    0
  • 迷茫

    迷茫2017-04-18 10:07:17

    Mainly for security reasons after the Mac system upgrade, detailed explanation and specific operations: http://blog.csdn.net/shi_weih...

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 10:07:17

    El Capitan has added Rootless mechanism. Restart your MAC and hold down Command+R to enter recovery mode, open Terminal, and just disable it. The command is: csrutil disable, remember to enable after installation

    reply
    0
  • Cancelreply