OSError: [Errno 13] Permission denied

asked 2019-01-30 02:09:08 -0600

Redhwan gravatar image

updated 2019-01-30 02:29:46 -0600

gvdhoorn gravatar image

hello all,

when I write in terminal

 cmake --version



the output:

Traceback (most recent call last):
  File "/usr/local/bin/cmake", line 11, in <module>
    load_entry_point('cmake==3.13.3', 'console_scripts', 'cmake')()
  File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/__init__.py", line 34, in cmake
    raise SystemExit(_program('cmake', sys.argv[1:]))
  File "/usr/local/lib/python2.7/dist-packages/cmake-3.13.3-py2.7-linux-x86_64.egg/cmake/__init__.py", line 30, in _program
    return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child

  raise child_exception

OSError: [Errno 13] Permission denied

also, another problem when make the configuration for some libraries in the workspace, show me everything is OK but actually not any configuration

my system: ubuntu 14.04, indigo, cmake --version : 3.5.1 I updated it because GPU

please help me

thank you in advance!

edit retag flag offensive close merge delete


Did you install / upgrade CMake using pip?

gvdhoorn gravatar image gvdhoorn  ( 2019-01-30 02:31:10 -0600 )edit

I used this, sudo apt-get install cmake3

Redhwan gravatar image Redhwan  ( 2019-01-30 02:48:11 -0600 )edit