Skip to content

python setup.py install error #8

@copypastejun

Description

@copypastejun

raceback (most recent call last):
File "setup.py", line 76, in silent_call
output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
File "/Users/anaconda3/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/Users/anaconda3/lib/python3.6/subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "/Users/anaconda3/lib/python3.6/subprocess.py", line 707, in init
restore_signals, start_new_session)
File "/Users/anaconda3/lib/python3.6/subprocess.py", line 1326, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 345, in
'Topic :: Scientific/Engineering :: Artificial Intelligence'])
File "/Users/anaconda3/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/Users/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 272, in run
nomp=self.nomp, bit32=self.bit32)
File "setup.py", line 197, in compile_cpp
raise_error=True, error_msg='Please install CMake and all required dependencies first')
File "setup.py", line 85, in silent_call
raise Exception("\n".join((error_msg, LOG_NOTICE)))
Exception: Please install CMake and all required dependencies first
The full version of error log was saved into /Users/LightGBM_compilation.log

/Users/LightGBM_compilation.log
make: *** No rule to make target _lightgbm'. Stop. make: *** No rule to make target _lightgbm'. Stop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions