質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Windows 10

Windows 10は、マイクロソフト社がリリースしたOSです。Modern UIを標準画面にした8.1から、10では再びデスクトップ主体に戻され、UIも変更されています。PCやスマホ、タブレットなど様々なデバイスに幅広く対応していることが特徴です。

Anaconda

Anacondaは、Python本体とPythonで利用されるライブラリを一括でインストールできるパッケージです。環境構築が容易になるため、Python開発者間ではよく利用されており、商用目的としても利用できます。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Q&A

解決済

1回答

5104閲覧

pulpがインストールできません!

sunasuna123go

総合スコア21

Windows 10

Windows 10は、マイクロソフト社がリリースしたOSです。Modern UIを標準画面にした8.1から、10では再びデスクトップ主体に戻され、UIも変更されています。PCやスマホ、タブレットなど様々なデバイスに幅広く対応していることが特徴です。

Anaconda

Anacondaは、Python本体とPythonで利用されるライブラリを一括でインストールできるパッケージです。環境構築が容易になるため、Python開発者間ではよく利用されており、商用目的としても利用できます。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

0グッド

0クリップ

投稿2019/12/20 11:35

前提・実現したいこと

python初心者です。anacondaにてpulpをインストールしようと思ったですが、以下のエラーメッセージが発生しました。みなさんのお力をお貸しください!お願いします!

発生している問題・エラーメッセージ

(base) C:\Users\*>conda install -c primer pulp Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: | Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. Examining vc: 29%|███████████████████▍ | 11/38 [00:00<00:00, 164.62it/s]/Examining certifi: 74%|█████████████████████████████████████████████▋ | 28/38 [00:00<00:00, 144.53it/s] failed - UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment: Specifications: - pulp -> python=2.7 - pulp -> python[version='>=2.7,<2.8.0a0'] Your python: python=3.7 If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that. The following specifications were found to be incompatible with each other: Package setuptools conflicts for: pulp -> setuptools python=3.7 -> pip -> setuptools Package certifi conflicts for: pulp -> python=2.7 -> pip -> requests -> certifi[version='>=2017.4.17'] python=3.7 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26'] Package msgpack-python conflicts for: pulp -> python=2.7 -> pip -> cachecontrol -> msgpack-python Package pip conflicts for: pulp -> python=2.7 -> pip python=3.7 -> pip Package wincertstore conflicts for: pulp -> setuptools -> wincertstore[version='>=0.2'] python=3.7 -> pip -> setuptools -> wincertstore[version='>=0.2'] Package vc conflicts for: pulp -> python=2.7 -> vc=9 python=3.7 -> vc[version='14.*|>=14.1,<15.0a0'] python=3.7 -> openssl[version='>=1.1.1b,<1.1.2a'] -> vc=9 Package ca-certificates conflicts for: pulp -> python=2.7 -> ca-certificates python=3.7 -> openssl[version='>=1.1.1b,<1.1.2a'] -> ca-certificates Package wheel conflicts for: python=3.7 -> pip -> wheel pulp -> python=2.7 -> pip -> wheel

試したこと

python3及び2をインストールしたことがあり、"The following specifications were found
to be incompatible with the existing python installation in your environment"と表示されたことからおそらくどちらかのバージョンをアンインストールしないといけないと思ったので、試したことはパソコン(windows10)の設定→アプリ→python2からこのバージョンをアンインストールして、パソコンを再起動しました。しかし、その後"conda info python"と打つと、python2の情報も表示され、アンインストールされていないと思ったので、これ以上先には自力で進めなくなりました。

補足情報(FW/ツールのバージョンなど)

パソコンはwindows10を使っています。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

tiitoi

2019/12/20 12:54

Anaconda は Python 2 と 3 のバージョンがありますが、2の Anaconda を入れてしまったのではないでしょうか?
sunasuna123go

2019/12/20 20:01

アドバイスありがとうございます!python2を認識するためのanacondaということでしょうか?(アドバイスの意図と関係ないかもしれませんが自分のパソコンで使用しているのはanaconda3です)
guest

回答1

0

ベストアンサー

次のコマンドでインストールできます。

bash

1conda install -c conda-forge pulp

Anaconda Cloud で検索して調べればわかるのですが、Primer/pulp は、古いパッケージで 2.7 用のものしかありません。マイナーなパッケージをインストールする時は Anaconda Cloud で検索して、どのパッケージを選択するか調べたほうがいいです。

投稿2019/12/21 15:42

編集2019/12/21 15:46
YasuhiroNiji

総合スコア584

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

sunasuna123go

2019/12/27 06:03

おっしゃるコマンドで無事にインストールすることができました!本当にずっと苦しんでいたので助かりました。ありがとうございます!!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問