error: could not create '/usr/lib/python3.5': Operation not permitted

Viewed 642

I am trying to install thrift servr on my Mac OS X.

I have download thrift 0.10.0, then have used the configure command. Its output is as below :

thrift 0.10.0

Building Plugin Support ...... : no
Building C++ Library ......... : no
Building C (GLib) Library .... : no
Building Java Library ........ : no
Building C# Library .......... : no
Building Python Library ...... : yes
Building Ruby Library ........ : no
Building Haxe Library ........ : no
Building Haskell Library ..... : no
Building Perl Library ........ : yes
Building PHP Library ......... : yes

I then used the make command.

Now when i run :sudo make install. Its giving me the error as below.

error: could not create '/usr/lib/python3.5': Operation not permitted
2 Answers

Have you tried --user at the end of your command? I encountered this issue when installing some python libraries and using this fixed it.

Related