-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation woes #6
Comments
This does not look straightforward - possible the issue with M-series Macs is similar? I tried for some time to get something working for that, but did not succeed. So any help is gladly taken.
There is a number of wheels available at PyPI, but I guess they are not working in your platform then? |
A quick comment on this: I found that the problem seems to be in all systems when the package is installed from source ( I couldn't so far find a solution for this (other than setting LD_LIBRARY_PATH). |
My platform is a mac, but it's running an x86_64 fedora image and the hardware isn't arm-based either: I don't think there not being a wheel is related to that. The version of Python it is running is 3.12, for which there is no wheel (at a glance): is that the reason it decides to build from source? The error does look very similar to the one in the issue you linked. |
Yes, there was indeed no Python 3.12 wheels before, which forced installing from source. I added them now to a new version 0.0.8.6. I think it's working now? |
This looks like its working now, thank you very much for your time.
(Building from source is still similarly broken: no surprises there.) |
I found a hack to make also the source installs work. As far as I was able to understand, the problem was that source install uses shared libraries (which makes sense), and then the main lib ( |
If I run the following to try to install opus-fast-mosestokenizer, I get various errors.
The pybind11 python package doesn't get correctly pulled in. I get this error:
After installing pybind with
pip3 install pybind11
, I still get the same error. I can get around it by specifying where cmake should look for pybind, but it feels really hacky:At this point, opus-fast-mosestokenizer installs. Running it is still problematic:
If I add it to LD_LIBRARY_PATH, it runs:
My issue here is then:
And in a wider sense: would it be possible to have a pre-built wheel for this package to make installation even easier?
The text was updated successfully, but these errors were encountered: