Package Details: python-ctranslate2-git 1703.77a48d43-1

Git Clone URL: https://aur.archlinux.org/ctranslate2-git.git (read-only, click to copy)
Package Base: ctranslate2-git
Description: Fast inference engine for OpenNMT models
Upstream URL: https://github.com/OpenNMT/ctranslate2
Licenses: GPL3
Submitter: sandsmark
Maintainer: None
Last Packager: BlackLotus89
Votes: 2
Popularity: 0.000223
First Submitted: 2021-04-10 00:22 (UTC)
Last Updated: 2022-07-31 18:38 (UTC)

Latest Comments

« First ‹ Previous 1 2

Zergling_man commented on 2021-11-08 15:54 (UTC)

Surely there's a cleaner solution than that. I tried to figure out moving it into the build dir but that didn't work.

felicien commented on 2021-10-19 12:16 (UTC)

When the error /usr/bin/ld: cannot find -lctranslate2 happens, you can sudo cp ./src/build/libctranslate2.so /usr/local/lib/ then try again and it will work!

Zergling_man commented on 2021-10-11 16:47 (UTC)

Adding "../include" to include_dirs on line 9 of src/ctranslate2/python/setup.py (include_dirs = [pybind11.get_include(),"../include"]) will get you past that issue, but then it hits: /usr/bin/ld: cannot find -lctranslate2

xuhcc commented on 2021-05-02 15:31 (UTC)

I'm getting this error too ctranslate2/translator_pool.h: No such file or directory

hotice commented on 2021-04-10 15:05 (UTC) (edited on 2021-04-10 15:19 (UTC) by hotice)

translator.cc:11:10: fatal error: ctranslate2/translator_pool.h: No such file or directory
    11 | #include <ctranslate2/translator_pool.h>
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.