Closed NeerajSarwan closed 7 years ago
Hello ! Yes it seems there is a problem while installing lightgbm from PyPI.
or (simpler) : install mlbox from the wheel :
$ cd python-package/dist/ $ pip install *.whl
I think it should work...
Try python setup.py install
If you omit install
you will only install the required packages
@AxeldeRomblay I ran your commands and it said - mlbox-0.2.2-py2-none-any.wheel is not a supported wheel on this platform.
I am assuming I need a py3 wheel since I am on python 3 right now. If that is the case, how do I achieve this ?
@NCherel
I already tried running python setup.py install but it throws the error mentioned in the original issue.
At the moment mlbox only works for python 2. but we are working on this point to make it compatible with python 3. :)
I have the same issue with conda virtualenv , ubuntu 14.04. it worked correctly with whell install...
@NeerajSarwan I have the same issue help me overcome with this Thanks
You should use either python setup.py install if you just want to use the package or python setup.py develop if you want to contribute.
This error comes often when one forgot to provide "install" or "develop" argument
You should use either python setup.py install if you just want to use the package or python setup.py develop if you want to contribute.
This error comes often when one forgot to provide "install" or "develop" argument
Really, when I add the command 'install' it seems to work now. Thank you!
Tried with all the solutions provided here, still getting same error. After using python setup.py install all the required packages are getting installed. But when I try to run the file I am getting following error.
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: no commands supplied
Hi,
I try install youtube-dl-gui for Zorin 15 and python setup.py install command worked, but I don`t see this app?
python setup.py install
or
python setup.py build
or
python setup.py build_exe
ValueError: Cannot find required utility patchelf
in PATH
python setup.py bdist_wheel
The code does not work. below is the error message:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Facing the same issue
Hi AxeldeRomblay,
System Information Ubuntu 16.04
I was actually trying to install your MLBox to give it a try. The steps I took were - 1- clone the repository. 2- run setup.py file.
The building part finishes till 100% but then throws a couple of errors. I am posting the actual error below.
[100%] Linking CXX shared library /tmp/easy_install-1gz4zwpu/lightgbm-2.0.2/lightgbm/lib_lightgbm.so [100%] Built target _lightgbm Install lib_lightgbm from: ['lightgbm/lib_lightgbm.so'] error: Setup script exited with usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: no commands supplied.