Closed noiraku closed 1 year ago
After i lost my hope i tried to mess with it, somehow succeeded i think?
i did:
git clone https://github.com/facebookresearch/fastText/
(manually edited code from https://github.com/facebookresearch/fastText/pull/1279/files)
cd fasttext
python setup.py install
after installation done
pip install .
then retried again
pip install txtai[pipeline]
Now it did install successfully. im shocked honestly, how can confirm this works fine?
(If someone else gets same error can try those my newbie tries.)
This issue https://github.com/facebookresearch/fastText/issues/1343 seems to confirm what you've done on Windows & Python 3.10+
You can try to install with Python 3.8/3.9 which doesn't appear to have this issue. I'd recommend commenting on the fastText project to see if they can push a fix to PyPI.
What is the reason you're installing the pipelines extra? What pipeline do you want to use?
EDIT: Perhaps it does make sense to switch the dependency from fasttext
to fasttext-wheel
Yep everyone from py 3.10 has that issue and unfortunately the other stuff am using requires 3.10 which is stable diffusion and all together.
Altought someone(the link I gave pull edit) submitted the fix year ago and still didnt got pushed, I doubt my comment would be taken action..
The pipelines I wanted to use mesmerized how textractor, summarization, image caption + storage on embedding works and really wanted to try on my project.
And yeah fasttext-wheel
could be work since they are same I think. I installed wheel successfully though, then installing txtai[pipeline] still needs fastext
package so I couldnt pass it.
Only reason I ask is that you don't need fasttext unless you plan to use the translation pipeline. So you might be OK with just a standard txtai install.
Yeah but when im trying to use textractor it says Textractor pipeline is not available or something like that and needs to install pipeline enable. I think translation also would be useful soon so just let it installed for ready. Thank you for answers and I love this project!
It fails installing the fasttext, i tried every way to make it pass but no, install pyproject.toml doesnt work, fasttext-wheel doesnt work either, tried older versions but im literally new on this debugging installation i have no idea and im lost. Anyway to install this? :( Im using venv