fastwer
fastwer copied to clipboard
pybind11 requirement
Hello,
Getting the following error while collecting the package via pip:
import pybind11 ModuleNotFoundError: No module named 'pybind11'
I have to first install pybind11 independently, which is a problem.
Thanks. I've updated the instructions accordingly. Did you encounter any issue with the pybind11 installation?
pip install pybind11
hello, when I want to run the code I get this error. However I followed the installation instructions. Is this normal? thank you for your answer and your work
`File "/home/antonomaz/Documents/SORBONNE/Doctorat/EXPE_PROGRA_2020_2021/EXPE_COMPARE_TXTBRUIT/EXPE_08012021/BOITE_OUTILS/DIST_SIM/fastwer.py", line 16, in
AttributeError: partially initialized module 'fastwer' has no attribute 'score' (most likely due to a circular import)`
If you clone the repository and install the fastwer using setup.py file. By command python setup.py install. The module has no attribute problem will be resolved. Also make sure you have pybind11 installed and you have restarted your runtime after installation.
@kahne I think the problem of @quents could be when you're trying to define your packages in a conda.yaml
file.
For example, this would fail because the pybind11
module is not available at the time of fastwer
installation.
name: myenv
channels:
- conda-forge
dependencies:
- python=3.9
- pip=22.2
- pip:
- pybind11==2.10.0
- fastwer==0.1.3
Not sure what would be the solution.