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

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

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

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

Python

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

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

Q&A

1回答

1012閲覧

Pysptk Python3.6 pip Windows10 コマンドプロンプト

Michael_ms

総合スコア0

Windows 10

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

Python

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

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

0グッド

0クリップ

投稿2021/01/20 07:27

前提・実現したいこと

Windows10で、コマンドプロンプトでPython3.6にPysptkを導入したい

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

Installing collected packages: pysptk Running setup.py install for pysptk ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\PC651\AppData\Local\Programs\Python\Python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\PC651\AppData\Local\Temp\pip-install-4p_m0byk\pysptk_7e39251a161b478096e648a084f8d85d\setup.py'"'"'; __file__='"'"'C:\Users\PC651\AppData\Local\Temp\pip-install-4p_m0byk\pysptk_7e39251a161b478096e648a084f8d85d\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\PC651\AppData\Local\Temp\pip-record-2rhjcg1w\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\PC651\AppData\Local\Programs\Python\Python36\Include\pysptk' cwd: C:\Users\PC651\AppData\Local\Temp\pip-install-4p_m0byk\pysptk_7e39251a161b478096e648a084f8d85d\ Complete output (21 lines): fatal: not a git repository (or any of the parent directories): .git running install running build running build_py -- Building version 0.1.18 creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\pysptk copying pysptk\conversion.py -> build\lib.win-amd64-3.6\pysptk copying pysptk\sptk.py -> build\lib.win-amd64-3.6\pysptk copying pysptk\synthesis.py -> build\lib.win-amd64-3.6\pysptk copying pysptk\util.py -> build\lib.win-amd64-3.6\pysptk copying pysptk\version.py -> build\lib.win-amd64-3.6\pysptk copying pysptk\__init__.py -> build\lib.win-amd64-3.6\pysptk creating build\lib.win-amd64-3.6\pysptk\example_audio_data copying pysptk\example_audio_data\arctic_a0007.wav -> build\lib.win-amd64-3.6\pysptk\example_audio_data copying pysptk\example_audio_data\COPYING -> build\lib.win-amd64-3.6\pysptk\example_audio_data running build_ext skipping 'pysptk\_sptk.c' Cython extension (up-to-date) building 'pysptk._sptk' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\PC651\AppData\Local\Programs\Python\Python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\PC651\AppData\Local\Temp\pip-install-4p_m0byk\pysptk_7e39251a161b478096e648a084f8d85d\setup.py'"'"'; __file__='"'"'C:\Users\PC651\AppData\Local\Temp\pip-install-4p_m0byk\pysptk_7e39251a161b478096e648a084f8d85d\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\PC651\AppData\Local\Temp\pip-record-2rhjcg1w\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\PC651\AppData\Local\Programs\Python\Python36\Include\pysptk' Check the logs for full command output.

該当のソースコード

py -3.6 -m pip install pysptk

試したこと

whlファイルでの導入
3.6に対応した物が見つからなかったため断念

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

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

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

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

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

guest

回答1

0

対象マシンに git がインストールされていることが前提のパッケージとのこと。
コマンドラインからGitを使う(for Windows)
を参考に、git をインストール後、pip install pysptk してみてください。

ご参照;
https://teratail.com/questions/116637

投稿2021/01/20 07:39

_whitecat_22

総合スコア1305

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

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

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

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問