Open GBurg opened 1 year ago
Got the same problem in a different flavor pybind11 as well, adding my output from cmd since not using conda, hoping the traceback will be of help for the devs
Collecting fasttext-langdetect Using cached fasttext-langdetect-1.0.5.tar.gz (6.8 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting fasttext>=0.9.1 (from fasttext-langdetect) Using cached fasttext-0.9.2.tar.gz (68 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
C:\Users\MASTER\AppData\Local\Programs\Python\Python38\python.exe: No module named pip
Traceback (most recent call last):
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\MASTER\AppData\Local\Programs\Python\Python38\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\MASTER\AppData\Local\Programs\Python\Python38\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\MASTER\AppData\Local\Programs\Python\Python38\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\MASTER\AppData\Local\Temp\pip-build-env-o32evsos\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\MASTER\AppData\Local\Temp\pip-build-env-o32evsos\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\MASTER\AppData\Local\Temp\pip-build-env-o32evsos\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\MASTER\AppData\Local\Temp\pip-build-env-o32evsos\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 72, in <module>
File "<string>", line 41, in __init__
RuntimeError: pybind11 install failed.
[end of output]
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.
+1
+1
Got the same error in Windows, but in the WSL2 it installs and works perfectly.
+1
This problem is not windows specific but I have also seen it on GNU/Linux.
Same here. No workarounds ?
@thiswillbeyourgithub @balbirthomas I made a fork to solve this problem.
Thanks. Still problematic for my friends who don't know how to use git but only pip
Thanks. Still problematic for my friends who don't know how to use git but only pip
@thiswillbeyourgithub If you can provide more information or submit an issue, it will be better. I have uploaded it on pypi.
Hello again. Thank you.
Is this the repo you uploaded the fixed PR to ? https://pypi.org/project/fast-langdetect/
I'll tell my friend to try again to pip install and report back.
Hello again. Thank you.你好,又来了。谢谢。
Is this the repo you uploaded the fixed PR to ? https://pypi.org/project/fast-langdetect/这是您上传固定 PR 的 repo 吗?https://pypi.org/project/fast-langdetect/
I'll tell my friend to try again to pip install and report back.我会告诉我的朋友再次尝试pip安装并报告。
Yes,it is @thiswillbeyourgithub
Found this while trying to figure out a way to solve it, mine was solved by just installing python 3.9 yours indicating it is 3.10
might be helpful.
~Azzam
My friend tells me he successfuly pip installed it. Thank you very much!
I tried to install fasttext-langdetect, but I get the following error:
Is there a different wheel I could try?