環境 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が存在しません。的なエラーだと思いその線で調べてみたのですが解決に至りませんでした。ほかのライブラリはどうなのかと思っていろいろ試したところ一部のライブラリインストール時に同じエラーが発生しました。
このエラーはどうしたらいいでしょうか。
あなたの回答
tips
プレビュー