python - MAC安装pyspider无法获取权限被拒绝
大家讲道理
大家讲道理 2017-04-18 10:05:17
0
6
596
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(6)
阿神

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

Peter_Zhu

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

伊谢尔伦

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

Ty80

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.

迷茫

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

左手右手慢动作

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template