I run python setup.py install but I got RuntimeError.
root@c7959063dacd:/workspace/PCLKeypoints# python setup.py install
running install
running bdist_egg
running egg_info
writing PCLKeypoint.egg-info/PKG-INFO
writing dependency_links to PCLKeypoint.egg-info/dependency_links.txt
writing top-level names to PCLKeypoint.egg-info/top_level.txt
reading manifest file 'PCLKeypoint.egg-info/SOURCES.txt'
writing manifest file 'PCLKeypoint.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
Traceback (most recent call last):
File "setup.py", line 21, in run
out = subprocess.check_output(['cmake', '--version'])
File "/opt/conda/lib/python3.6/subprocess.py", line 356, in check_output
*kwargs).stdout
File "/opt/conda/lib/python3.6/subprocess.py", line 423, in run
with Popen(popenargs, **kwargs) as process:
File "/opt/conda/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/opt/conda/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 68, in
zip_safe=False,
File "/opt/conda/lib/python3.6/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/opt/conda/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/conda/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/opt/conda/lib/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 24, in run
", ".join(e.name for e in self.extensions))
RuntimeError: CMake must be installed to build the following extensions: PCLKeypoint
Hi
I run python setup.py install but I got RuntimeError.
root@c7959063dacd:/workspace/PCLKeypoints# python setup.py install running install running bdist_egg running egg_info writing PCLKeypoint.egg-info/PKG-INFO writing dependency_links to PCLKeypoint.egg-info/dependency_links.txt writing top-level names to PCLKeypoint.egg-info/top_level.txt reading manifest file 'PCLKeypoint.egg-info/SOURCES.txt' writing manifest file 'PCLKeypoint.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext Traceback (most recent call last): File "setup.py", line 21, in run out = subprocess.check_output(['cmake', '--version']) File "/opt/conda/lib/python3.6/subprocess.py", line 356, in check_output *kwargs).stdout File "/opt/conda/lib/python3.6/subprocess.py", line 423, in run with Popen(popenargs, **kwargs) as process: File "/opt/conda/lib/python3.6/subprocess.py", line 729, in init restore_signals, start_new_session) File "/opt/conda/lib/python3.6/subprocess.py", line 1364, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "setup.py", line 68, in
zip_safe=False,
File "/opt/conda/lib/python3.6/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/opt/conda/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/conda/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/opt/conda/lib/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 24, in run
", ".join(e.name for e in self.extensions))
RuntimeError: CMake must be installed to build the following extensions: PCLKeypoint
what should I do?