'Erro in bulding wheel for lightfm

I am trying to install lightfm in an venv using cmd but I always get this error:

Requirement already satisfied: joblib>=0.11 in c:\users\user\onedrive\ambiente de trabalho\mestrado\2 semestre\business case\bc3\flask_app\env\lib\site-packages (from scikit-learn->lightfm) (1.1.0)
Building wheels for collected packages: lightfm
  Building wheel for lightfm (setup.py) ... error
  error: subprocess-exited-with-error

It seems the error comes from not being able to install wheel for lightfm. I have tried to:

pip install wheel
python setup.py install

I got an error so I tried to do it in the directory of the wheel but still got this error:

C:\Users\User\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'C:\Users\User\OneDrive\Ambiente de Trabalho\Mestrado\2 semestre\Business Case\BC3\flask_app\env\Lib\site-packages\wheel\setup.py': [Errno 2] No such file or directory

Can anyone see what am I doing wrong?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source