Cố gắng cài đặt xgboost bị lỗi ..? Phiên bản là Anaconda 2.1.0 (64 bit) trên Windows & doanh nghiệp. Tôi làm cách nào để tiếp tục? Tôi đã sử dụng R nó có vẻ khá dễ dàng để cài đặt gói mới trong R từ RStudio, nhưng không phải như vậy trong spyder như tôi cần phải đi đến một cửa sổ lệnh để làm điều đó và sau đó trong trường hợp này nó không ..Cài đặt xgboost dưới python với msys 32 bit không thành công
import sys
print (sys.version)
2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Jul 2 2014, 15:12:11) [MSC v.1500 64 bit (AMD64)]
C:\anaconda\Lib\site-packages>pip install -U xgboost
Downloading/unpacking xgboost
Could not find a version that satisfies the requirement xgboost (from versions: 0.4a12, 0.4a13)
Cleaning up...
No distributions matching the version for xgboost
Storing debug log for failure in C:\Users\c_kazum\pip\pip.log
------------------------------------------------------------
C:\Users\c_kazum\AppData\Local\Continuum\Anaconda\Scripts\pip-script.py run on 08/27/15 12:52:30
Downloading/unpacking xgboost
Getting page https://pypi.python.org/simple/xgboost/
URLs to search for versions for xgboost:
* https://pypi.python.org/simple/xgboost/
Analyzing links from page https://pypi.python.org/simple/xgboost/
Found link https://pypi.python.org/packages/source/x/xgboost/xgboost-0.4a12.tar.gz#md5=4d768e034a28590497bb79279f036946 (from https://pypi.python.org/simple/xgboost/), version: 0.4a12
Found link https://pypi.python.org/packages/source/x/xgboost/xgboost-0.4a13.tar.gz#md5=5f53d51e4305c679192b3cabda2b0dbe (from https://pypi.python.org/simple/xgboost/), version: 0.4a13
Ignoring link https://pypi.python.org/packages/source/x/xgboost/xgboost-0.4a12.tar.gz#md5=4d768e034a28590497bb79279f036946 (from https://pypi.python.org/simple/xgboost/), version 0.4a12 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/x/xgboost/xgboost-0.4a13.tar.gz#md5=5f53d51e4305c679192b3cabda2b0dbe (from https://pypi.python.org/simple/xgboost/), version 0.4a13 is a pre-release (use --pre to allow).
Could not find a version that satisfies the requirement xgboost (from versions: 0.4a12, 0.4a13)
Cleaning up...
Removing temporary dir c:\users\c_kazum\appdata\local\temp\pip_build_c_kazum...
No distributions matching the version for xgboost
Exception information:
Traceback (most recent call last):
File "C:\Users\c_kazum\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Users\c_kazum\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\commands\install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Users\c_kazum\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "C:\Users\c_kazum\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\index.py", line 322, in find_requirement
raise DistributionNotFound('No distributions matching the version for %s' % req)
DistributionNotFound: No distributions matching the version for xgboost
Câu hỏi này đã được crossposted từ [Kaggle "Làm thế nào để XGBoost trong Python 3.4.3 | Anaconda 2.2.0 (64-bit)"] (https://www.kaggle.com/c/liberty-mutual-group -property-inspection-guessiction/diễn đàn/t/16120/how-to-xgboost-in-python-3-4-3-anaconda-2-2-0-64-bit) nơi chúng tôi đã giúp chẩn đoán nó – smci