av_hubert
av_hubert copied to clipboard
pip install --editable ./
i was doing the installtion step, and when i used "pip install --editable ./" i got this error:
Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File "C:\Users\floro.conda\envs\avhubert\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Is there error if you remove --editable
?
yes there is, i tried also to do before the steps in preparation, but the error still appears
Were you able to install the latest version of fairseq following their instructions? If not, that's an issue of fairseq installation on your system and you can create an issue there.
@Cristian-Fioravanti Hi, I also met the same problem as you. Have you solved it? If so, what is your solution? Thank you!
@Cristian-Fioravanti Hi, I also met the same problem as you. Have you solved it? If so, what is your solution? Thank you!
i don't remember anymore sorry
@Cristian-Fioravanti Hi, I also met the same problem as you. Have you solved it? If so, what is your solution? Thank you!
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8'
Traceback (most recent call last):
File "C:\Users\Main\miniconda3\envs\avhubert\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\Main\miniconda3\envs\avhubert\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Main\miniconda3\envs\avhubert\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 132, in get_requires_for_build_editable
return hook(config_settings)
File "C:\Users\Main\AppData\Local\Temp\pip-build-env-zl_3zi3y\overlay\Lib\site-packages\setuptools\build_meta.py", line 447, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "C:\Users\Main\AppData\Local\Temp\pip-build-env-zl_3zi3y\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\Main\AppData\Local\Temp\pip-build-env-zl_3zi3y\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "C:\Users\Main\AppData\Local\Temp\pip-build-env-zl_3zi3y\overlay\Lib\site-packages\setuptools\build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 246, in <module>
OSError: [WinError 1314] A required privilege is not held by the client: '..\\examples' -> 'fairseq\\examples'
[end of output]
Try running command prompt as administrator. This is generally not recommended and do so at your own risk. However the error points to permission issue with the file system.
Try running command prompt as administrator. This is generally not recommended and do so at your own risk. However the error points to permission issue with the file system.
This is the solution, thank you!