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

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

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

OpenCV(オープンソースコンピュータービジョン)は、1999年にインテルが開発・公開したオープンソースのコンピュータビジョン向けのクロスプラットフォームライブラリです。

Python

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

PyCharm

エディター・開発ツール

Q&A

解決済

1回答

3712閲覧

PycharmでのOpenCVのインストールエラー

rikubon_

総合スコア39

OpenCV

OpenCV(オープンソースコンピュータービジョン)は、1999年にインテルが開発・公開したオープンソースのコンピュータビジョン向けのクロスプラットフォームライブラリです。

Python

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

PyCharm

エディター・開発ツール

0グッド

0クリップ

投稿2019/09/18 11:19

前提・実現したいこと

自分が今日PyCharmでOpenCVをインストールしようとすると、なぜかエラーでインストールができませんでした。
一応、そこで出たエラーコードも貼っておきます。どうかよろしくお願いします。

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

Collecting package metadata (current_repodata.json): ...working... done Solving environment: ...working... The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency: - defaults/win-64::keras-gpu==2.2.4=0 - defaults/win-64::tensorflow-gpu==1.14.0=h0d30ee6_0 failed with initial frozen solve. Retrying with flexible solve. Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency: - defaults/win-64::keras-gpu==2.2.4=0 - defaults/win-64::tensorflow-gpu==1.14.0=h0d30ee6_0 failed with initial frozen solve. Retrying with flexible solve. Solving environment: ...working... Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed Comparing specs that have this dependency: 0%| | 0/6 [00:00<?, ?it/s] Finding conflict paths: 0%| | 0/2 [00:00<?, ?it/s] Finding shortest conflict path for beautifulsoup4==4.8.0: 0%| | 0/2 [00:00<?, ?it/s] Finding shortest conflict path for beautifulsoup4: 50%|##### | 1/2 [00:00<00:00, 1.59it/s] Finding shortest conflict path for beautifulsoup4: 100%|##########| 2/2 [00:00<00:00, 3.17it/s] Comparing specs that have this dependency: 17%|#6 | 1/6 [00:01<00:06, 1.26s/it] Finding conflict paths: 0%| | 0/2 [00:00<?, ?it/s] Finding shortest conflict path for beautifulsoup4==4.8.0: 0%| | 0/2 [00:00<?, ?it/s] Finding shortest conflict path for beautifulsoup4: 50%|##### | 1/2 [00:01<00:01, 1.77s/it] Finding shortest conflict path for beautifulsoup4: 100%|##########| 2/2 [00:01<00:00, 1.13it/s] Comparing specs that have this dependency: 33%|###3 | 2/6 [00:03<00:06, 1.52s/it] Finding conflict paths: 0%| | 0/1 [00:00<?, ?it/s] Finding shortest conflict path for beautifulsoup4==4.8.0: 0%| | 0/1 [00:00<?, ?it/s] UnsatisfiableError: The following specifications were found to be incompatible with each other: Package beautifulsoup4 conflicts for: _anaconda_depends -> beautifulsoup4 conda-build -> beautifulsoup4 beautifulsoup4==4.8.0 anaconda==2019.07=py37_0 -> beautifulsoup4==4.7.1=py37_1 長かったので途中省かせていただきます

該当のソースコード

Python(Anaconda)
pythonインタプリターのところからインストールしました

### 試したこと ここに問題に対して試したことを記載してください。 ### 補足情報(FW/ツールのバージョンなど) ここにより詳細な情報を記載してください。

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

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

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

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

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

guest

回答1

0

ベストアンサー

ターミナル・コマンドプロンプトで
pip install opencv-python

ではダメなのでしょうか?

投稿2019/09/18 11:26

nariyyynari

総合スコア48

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問