{"action":"opened","issue":{"url":"https://api.github.com/repos/Hiroshiba/become-yukarin/issues/17","repository_url":"https://api.github.com/repos/Hiroshiba/become-yukarin","labels_url":"https://api.github.com/repos/Hiroshiba/become-yukarin/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Hiroshiba/become-yukarin/issues/17/comments","events_url":"https://api.github.com/repos/Hiroshiba/become-yukarin/issues/17/events","html_url":"https://github.com/Hiroshiba/become-yukarin/issues/17","id":310006800,"number":17,"title":"Pythonでpysptkのインストールに失敗します。","user":{"login":"BURI55","id":26697356,"avatar_url":"https://avatars3.githubusercontent.com/u/26697356?v=4","gravatar_id":"","url":"https://api.github.com/users/BURI55","html_url":"https://github.com/BURI55","followers_url":"https://api.github.com/users/BURI55/followers","following_url":"https://api.github.com/users/BURI55/following{/other_user}","gists_url":"https://api.github.com/users/BURI55/gists{/gist_id}","starred_url":"https://api.github.com/users/BURI55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BURI55/subscriptions","organizations_url":"https://api.github.com/users/BURI55/orgs","repos_url":"https://api.github.com/users/BURI55/repos","events_url":"https://api.github.com/users/BURI55/events{/privacy}","received_events_url":"https://api.github.com/users/BURI55/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-30T08:20:03Z","updated_at":"2018-03-30T08:20:03Z","closed_at":null,"author_association":"NONE","body":"前提・実現したいこと\r\nPhythonで機械学習の変換システムを作っています。\r\nPysptkのインストール中に次のエラーメッセージが発生しました。\r\n\r\n発生している問題・エラーメッセージ\r\n\r\n Collecting pysptk\r\n  Using cached pysptk-0.1.10.tar.gz\r\n    Complete output from command python setup.py egg_info:\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"C:\\Users\\KHB15\\AppData\\Local\\Temp\\pip-build-pwyzyltm\\pysptk\\setup.py\", line 25, in <module>\r\n        ['git', 'rev-parse', 'HEAD'], cwd=cwd).decode('ascii').strip()\r\n      File \"C:\\Users\\KHB15\\Anaconda3\\lib\\subprocess.py\", line 336, in check_output\r\n        **kwargs).stdout\r\n      File \"C:\\Users\\KHB15\\Anaconda3\\lib\\subprocess.py\", line 403, in run\r\n        with Popen(*popenargs, **kwargs) as process:\r\n      File \"C:\\Users\\KHB15\\Anaconda3\\lib\\subprocess.py\", line 709, in __init__\r\n        restore_signals, start_new_session)\r\n      File \"C:\\Users\\KHB15\\Anaconda3\\lib\\subprocess.py\", line 997, in _execute_child\r\n        startupinfo)\r\n    FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。\r\n    Command \"python setup.py egg_info\" failed with error code 1 in C:\\Users\\KHB15\\AppData\\Local\\Temp\\pip-build-pwyzyltm\\pysptk\\\r\n\r\ngitを入れて再実行しました。\r\n\r\n\r\n> C:\\become-yukarin\\become-yukarin\\scripts>git --version\r\ngit version 2.16.2.windows.1\r\n\r\nC:\\become-yukarin\\become-yukarin\\scripts>pip install pysptk\r\nCollecting pysptk\r\n  Using cached pysptk-0.1.10.tar.gz\r\nRequirement already satisfied: numpy>=1.8.0 in c:\\anaconda3\\lib\\site-packages (from pysptk)\r\nRequirement already satisfied: six in c:\\anaconda3\\lib\\site-packages (from pysptk)\r\nRequirement already satisfied: decorator in c:\\anaconda3\\lib\\site-packages (from pysptk)\r\nBuilding wheels for collected packages: pysptk\r\n  Running setup.py bdist_wheel for pysptk ... error\r\n  Failed building wheel for pysptk\r\n  Running setup.py clean for pysptk\r\nFailed to build pysptk\r\nInstalling collected packages: pysptk\r\n  Running setup.py install for pysptk ... error\r\nException:\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\compat\\__init__.py\", line 73, in console_to_str\r\n    return s.decode(sys.__stdout__.encoding)\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 5: invalid start byte\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\commands\\install.py\", line 342, in run\r\n    prefix=options.prefix_path,\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\req\\req_set.py\", line 784, in install\r\n    **kwargs\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\req\\req_install.py\", line 878, in install\r\n    spinner=spinner,\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\utils\\__init__.py\", line 676, in call_subprocess\r\n    line = console_to_str(proc.stdout.readline())\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\compat\\__init__.py\", line 75, in console_to_str\r\n    return s.decode('utf_8')\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 5: invalid start byte\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\commands\\install.py\", line 385, in run\r\n    requirement_set.cleanup_files()\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\req\\req_set.py\", line 729, in cleanup_files\r\n    req.remove_temporary_source()\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\req\\req_install.py\", line 977, in remove_temporary_source\r\n    rmtree(self.source_dir)\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 49, in wrapped_f\r\n    return Retrying(*dargs, **dkw).call(f, *args, **kw)\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 212, in call\r\n    raise attempt.get()\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 247, in get\r\n    six.reraise(self.value[0], self.value[1], self.value[2])\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\six.py\", line 686, in reraise\r\n    raise value\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 200, in call\r\n    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\utils\\__init__.py\", line 102, in rmtree\r\n    onerror=rmtree_errorhandler)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 494, in rmtree\r\n    return _rmtree_unsafe(path, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 384, in _rmtree_unsafe\r\n    _rmtree_unsafe(fullname, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 384, in _rmtree_unsafe\r\n    _rmtree_unsafe(fullname, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 384, in _rmtree_unsafe\r\n    _rmtree_unsafe(fullname, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 376, in _rmtree_unsafe\r\n    onerror(os.listdir, path, sys.exc_info())\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\utils\\__init__.py\", line 112, in rmtree_errorhandler\r\n    os.chmod(path, stat.S_IWRITE)\r\nPermissionError: [WinError 5] アクセスが拒否されました。: 'C:\\\\Users\\\\KHB15\\\\AppData\\\\Local\\\\Temp\\\\pip-build-hy1k76f9\\\\pysptk\\\\lib\\\\SPTK\\\\include'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\basecommand.py\", line 215, in main\r\n    status = self.run(options, args)\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\commands\\install.py\", line 385, in run\r\n    requirement_set.cleanup_files()\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\utils\\build.py\", line 38, in __exit__\r\n    self.cleanup()\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\utils\\build.py\", line 42, in cleanup\r\n    rmtree(self.name)\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 49, in wrapped_f\r\n    return Retrying(*dargs, **dkw).call(f, *args, **kw)\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 212, in call\r\n    raise attempt.get()\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 247, in get\r\n    six.reraise(self.value[0], self.value[1], self.value[2])\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\six.py\", line 686, in reraise\r\n    raise value\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\retrying.py\", line 200, in call\r\n    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\utils\\__init__.py\", line 102, in rmtree\r\n    onerror=rmtree_errorhandler)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 494, in rmtree\r\n    return _rmtree_unsafe(path, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 384, in _rmtree_unsafe\r\n    _rmtree_unsafe(fullname, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 384, in _rmtree_unsafe\r\n    _rmtree_unsafe(fullname, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 384, in _rmtree_unsafe\r\n    _rmtree_unsafe(fullname, onerror)\r\n  File \"C:\\Anaconda3\\lib\\shutil.py\", line 376, in _rmtree_unsafe\r\n    onerror(os.listdir, path, sys.exc_info())\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\utils\\__init__.py\", line 112, in rmtree_errorhandler\r\n    os.chmod(path, stat.S_IWRITE)\r\nPermissionError: [WinError 5] アクセスが拒否されました。: 'C:\\\\Users\\\\KHB15\\\\AppData\\\\Local\\\\Temp\\\\pip-build-hy1k76f9\\\\pysptk\\\\lib\\\\SPTK\\\\include'\r\n該当のソースコード\r\npip install pysptk\r\n\r\n試したこと\r\nhttps://qiita.com/ruteshi_SI_shiteru/items/be6a58276bdbd67dc096\r\nによるpipのファイルの書き換え\r\nシステム入れ直し\r\nGitを入れてみました。\r\n補足情報（FW/ツールのバージョンなど）\r\nPython3.6(Anaconda)2.7や3．4や3.5ではダメでした。"}}
{"actor":{"display_login":"BURI55"}}