前提
NTTのjapanese-dialog-transformers導入の際にfairseqのビルドが上手くいきません。
実現したいこと
fairseqをビルドしたい。
- ▲▲機能を動作するようにする
発生している問題・エラーメッセージ
git clone https://github.com/pytorch/fairseq
cd fairseq
pip install --editable ./
と入力したところ
該当のソースコード
Obtaining file:///C:/Users/hoge/fairseq
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\hoge\miniconda3\python.exe' 'C:\Users\hoge\AppData\Roaming\Python\Python38\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\hoge\AppData\Local\Temp\tmp5z0n6xyn'
cwd: C:\Users\hoge\fairseq
Complete output (15 lines):
Traceback (most recent call last):
File "C:\Users\hoge\AppData\Roaming\Python\Python38\site-packages\pip_vendor\pep517\in_process_in_process.py", line 349, in <module>
main()
File "C:\Users\hoge\AppData\Roaming\Python\Python38\site-packages\pip_vendor\pep517\in_process_in_process.py", line 331, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\hoge\AppData\Roaming\Python\Python38\site-packages\pip_vendor\pep517\in_process_in_process.py", line 117, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\hoge\AppData\Local\Temp\pip-build-env-qcdgbapc\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\hoge\AppData\Local\Temp\pip-build-env-qcdgbapc\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "C:\Users\hoge\AppData\Local\Temp\pip-build-env-qcdgbapc\overlay\Lib\site-packages\setuptools\build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 262, in <module>
OSError: [WinError 1314] クライアントは要求された特権を保有していません。: '..\examples' -> 'fairseq\examples' |
---|
WARNING: Discarding file:///C:/Users/hoge/fairseq. Command errored out with exit status 1: 'C:\Users\hoge\miniconda3\python.exe' 'C:\Users\hoge\AppData\Roaming\Python\Python38\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\hoge\AppData\Local\Temp\tmp5z0n6xyn' Check the logs for full command output. |
ERROR: Command errored out with exit status 1: 'C:\Users\hoge\miniconda3\python.exe' 'C:\Users\hoge\AppData\Roaming\Python\Python38\site-packages\pip_vendor\pep517\in_process_in_process.py' get_requires_for_build_wheel 'C:\Users\hoge\AppData\Local\Temp\tmp5z0n6xyn' Check the logs for full command output. |
WARNING: You are using pip version 21.2.4; however, version 22.2.2 is available. |
You should consider upgrading via the 'C:\Users\hoge\miniconda3\python.exe -m pip install --upgrade pip' command. |
ソースコード
### 試したこと 管理者権限で実行しても同じエラーが出るのみでした。
