Scikit-Learn Not Properly Updating in IPython

Student

I am attempting to update scikit-learn within IPython to version 0.14 from 0.13 using the following command in the IPython shell:

!pip install scikit-learn --update

Everything appears to be updating, but when I look at the pip log I see the below (I would appreciate any insight):

 Rolling back uninstall of scikit-learn

  Replacing c:\anaconda\lib\site-packages\scikit_learn-0.13-py2.7.egg-info
Command C:\Anaconda\python.exe -c "import setuptools;__file__='c:\\users\\owner\\appdata\\local\\temp\\pip-build\\scikit-learn\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\owner\appdata\local\temp\pip-pqca_z-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\owner\appdata\local\temp\pip-build\scikit-learn

Exception information:
Traceback (most recent call last):
  File "C:\Anaconda\lib\site-packages\pip\basecommand.py", line 107, in main
    status = self.run(options, args)
  File "C:\Anaconda\lib\site-packages\pip\commands\install.py", line 261, in run
    requirement_set.install(install_options, global_options)
  File "C:\Anaconda\lib\site-packages\pip\req.py", line 1166, in install
    requirement.install(install_options, global_options)
  File "C:\Anaconda\lib\site-packages\pip\req.py", line 589, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "C:\Anaconda\lib\site-packages\pip\util.py", line 612, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Anaconda\python.exe -c "import setuptools;__file__='c:\\users\\owner\\appdata\\local\\temp\\pip-build\\scikit-learn\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\owner\appdata\local\temp\pip-pqca_z-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\owner\appdata\local\temp\pip-build\scikit-learn
ogrisel

You are using anaconda so you should use the conda commandline (conda update scikit-learn) to update Anaconda packages instead of pip.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

scikit learn documentation in PDF

分類Dev

Scikit-Learn Standard Scaler

分類Dev

repeated FeatureUnion in scikit-learn

分類Dev

scikit-learn StratifiedKFold implementation

分類Dev

scikit-learn:最近傍

分類Dev

scikit learnのRandomForestClassifierとExtraTreesClassifier

分類Dev

Scikit-learn tutorial documentation location

分類Dev

Scikit learn split train test for series

分類Dev

Data not persistent in scikit-learn transformers

分類Dev

Balanced Random Forest in scikit-learn (python)

分類Dev

Scikit-Learn Agglomerative Clustering Connectivity Matrix

分類Dev

Custom tokenizer for scikit-learn vectorizers

分類Dev

「KeyError:0」、xgboost、scikit-learn、pandas

分類Dev

Looping scikit-learn machine learning datasets

分類Dev

Scikit-learn tfidf vectorizer in minibatches?

分類Dev

Target transformation and feature selection in scikit-learn

分類Dev

Installing an old version of scikit-learn

分類Dev

anaconda/spyder scikit learn update 0.21.3 to 0.22.2

分類Dev

API calls from NLTK, Gensim, Scikit Learn

分類Dev

StratifiedKFold vs KFold in scikit-learn

分類Dev

StratifiedKFoldとscikit-learnのKFold

分類Dev

scikit-learn Ridge Regression UnboundLocalError

分類Dev

Predict movie reviews with scikit-learn

分類Dev

scikit-learn HashingVectorizer on sparse matrix

分類Dev

SciKit Learn、Keras、またはPytorchの違い

分類Dev

Scikit Learn K-MeansによるBlaze

分類Dev

scikit-learnとsklearnの違い

分類Dev

dictorを渡してscikit learn estimatorに

分類Dev

Scikit-learn:preprocessing.scale()とpreprocessing.StandardScalar()

Related 関連記事

ホットタグ

アーカイブ