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

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

新規登録して質問してみよう
ただいま回答率
85.50%
Python 3.x

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

Q&A

0回答

3095閲覧

python pip インストール時のエラーについて

bof

総合スコア18

Python 3.x

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

0グッド

0クリップ

投稿2017/11/29 00:49

pqkmeansというパッケージのあるディレクトリにおいて、pip install pqkmeansをコマンドプロンプトで行ったところ、以下のようなエラーが出ました。

 このエラーに対して、この http://msdn.microsoft.com/en-us/windows/bb980924.aspx
URLに従い、SDKをダウンロードし、visual studio 2010を64bitに対応させる。という対処で正しいのか伺いたいです。

また64bitにする手順などをお教えいただきたく質問させていただきました。

よろしくお願いいたします。

コマンドプロンプト内のエラー表記(一部抜粋)

Collecting pqkmeans Using cached pqkmeans-1.0.1.tar.gz Requirement already satisfied: numpy in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from pqkmeans) Requirement already satisfied: scikit-learn in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from pqkmeans) Requirement already satisfied: pipe in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from pqkmeans) Requirement already satisfied: scipy in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from pqkmeans) Requirement already satisfied: typing in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from pqkmeans) Requirement already satisfied: six in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from pqkmeans) Requirement already satisfied: texmex_python==1.0.0 in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from pqkmeans) Requirement already satisfied: lshash3 in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from texmex_python==1.0.0->pqkmeans) Requirement already satisfied: bitarray in c:\users\hidek\anaconda3\envs\py36con\lib\site-packages (from lshash3->texmex_python==1.0.0->pqkmeans) Building wheels for collected packages: pqkmeans Running setup.py bdist_wheel for pqkmeans ... error ・ ・ ・ -- Building for: Visual Studio 10 2010 CMake Error at CMakeLists.txt:2 (project): Cannot enable 64-bit tools with Visual Studio 2010 Express. Install the Microsoft Windows SDK v7.1 to get 64-bit tools: http://msdn.microsoft.com/en-us/windows/bb980924.aspx -- Configuring incomplete, errors occurred! See also "C:/Users/hidek/AppData/Local/Temp/pip-build-ilfzefno/pqkmeans/build/temp.win-amd64-3.6/Release/CMakeFiles/CMakeOutput.log". Failed building wheel for pqkmeans File "C:\Users\hidek\Anaconda3\envs\py36con\lib\subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\Users\hidek\AppData\Local\Temp\pip-build-ilfzefno\pqkmeans', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\hidek\AppData\Local\Temp\pip-build-ilfzefno\pqkmeans\build\lib.win-amd64-3.6', '-DPYTHON_EXECUTABLE=C:\Users\hidek\Anaconda3\envs\py36con\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\hidek\AppData\Local\Temp\pip-build-ilfzefno\pqkmeans\build\lib.win-amd64-3.6', '-A', 'x64']' returned non-zero exit status 1. ---------------------------------------- Failed building wheel for pqkmeans Running setup.py clean for pqkmeans Failed to build pqkmeans Installing collected packages: pqkmeans Running setup.py install for pqkmeans ... error Complete output from command C:\Users\hidek\Anaconda3\envs\py36con\python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\hidek\AppData\Local\Temp\pip-build-ilfzefno\pqkmeans\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\hidek\AppData\Local\Temp\pip-00whz064-record\install-record.txt --single-version-externally-managed --compile: ・ ・ ・ Command "C:\Users\hidek\Anaconda3\envs\py36con\python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\hidek\AppData\Local\Temp\pip-build-ilfzefno\pqkmeans\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\hidek\AppData\Local\Temp\pip-00whz064-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\hidek\AppData\Local\Temp\pip-build-ilfzefno\pqkmeans\

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

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

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

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

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

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

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

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

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

ただいまの回答率
85.50%

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

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

質問する

関連した質問