I successfully installed pybing11, but not fastwer, not on python 3.7 nor 3.10.
I tried cloning the repository and running setup.py but it wouldn't let me.
Here's the error:
!pip install --use-pep517 fastwer
Collecting fastwer
Using cached fastwer-0.1.3.tar.gz (4.6 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "C:\Users\domin\anaconda3\envs\OCR\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\domin\anaconda3\envs\OCR\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\domin\anaconda3\envs\OCR\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\domin\AppData\Local\Temp\pip-build-env-ghfpmuls\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\domin\AppData\Local\Temp\pip-build-env-ghfpmuls\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\domin\AppData\Local\Temp\pip-build-env-ghfpmuls\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\domin\AppData\Local\Temp\pip-build-env-ghfpmuls\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 27, in <module>
File "<string>", line 19, in get_include
ModuleNotFoundError: No module named 'pybind11'
[end of output]
...
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The installation works no problem on Google Colab.
Any help would be appreciated.
Hi, trying to install fastwer.
I successfully installed pybing11, but not fastwer, not on python 3.7 nor 3.10.
I tried cloning the repository and running setup.py but it wouldn't let me.
Here's the error:
The installation works no problem on Google Colab. Any help would be appreciated.