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

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

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

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

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Q&A

0回答

1401閲覧

Python3 インストール(pip install DocumentFeatureSelection)時にエラーが出ます。

kino1234

総合スコア4

Anaconda

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

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

0グッド

1クリップ

投稿2020/01/31 12:38

環境 anaconda3 python3.7 windows10
ライブラリのインストールができないものがあります。
conda install pipをしてからpipでインストールしています。
pip install DocumentFeatureSelection のコマンドを実行しました。
できないものは以下のエラーメッセージが出ます。
エラーメッセージのエラー内容が書いてありそうな部分を順に取り出しました。
----------------の部分が省略したところです。

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

エラーメッセージ Building wheels for collected packages: DocumentFeatureSelection Building wheel for DocumentFeatureSelection (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\81801\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\setup.py'"'"'; __file__='"'"'C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\81801\AppData\Local\Temp\pip-wheel-lp1u51af' cwd: C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\ Complete output (198 lines): python version sys.version_info(major=3, minor=7, micro=4, releaselevel='final', serial=0) Requirement already satisfied: typing in c:\users\81801\anaconda3\lib\site-packages (3.7.4.1) C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\setup.py:81: DeprecationWarning: Due to possible ambiguity, 'convert()' is deprecated. Use 'convert_file()' or 'convert_text()'. long_description = pypandoc.convert('README.md', 'rst') running bdist_wheel ----------------------------------------------------------------------- error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ ERROR: Failed building wheel for DocumentFeatureSelection Running setup.py clean for DocumentFeatureSelection Failed to build DocumentFeatureSelection Installing collected packages: DocumentFeatureSelection Running setup.py install for DocumentFeatureSelection ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\81801\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\setup.py'"'"'; __file__='"'"'C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\81801\AppData\Local\Temp\pip-record-8ksni75c\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\81801\Anaconda3\Include\DocumentFeatureSelection' cwd: C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\ ----------------------------------------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\81801\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\setup.py'"'"'; __file__='"'"'C:\Users\81801\AppData\Local\Temp\pip-install-gtsnq2ak\DocumentFeatureSelection\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\81801\AppData\Local\Temp\pip-record-8ksni75c\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\81801\Anaconda3\Include\DocumentFeatureSelection' Check the logs for full command output. ### 該当のソースコード

私がエラーメッセージを見たところ、setupが存在しません。的なエラーだと思いその線で調べてみたのですが解決に至りませんでした。ほかのライブラリはどうなのかと思っていろいろ試したところ一部のライブラリインストール時に同じエラーが発生しました。

このエラーはどうしたらいいでしょうか。

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

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

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

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

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

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

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

ただいまの回答率
85.47%

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

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

質問する

関連した質問