Mainly here, you are not using pip in user mode which you should be doing
However I also wrote a functional package for libretranslate, i never
got round to cleaning it up but you should be able to grab it from the
pull requests page on codeberg, i think some dependencies would need
their tests disabling.
Also awesome song! Is it available anywhere online?
Dne 27. 01. 26 v 14:56 gfp napsal(a):
Hi,
I downloaded libretranslate
and installed pip
and after running
pip install libretranslate
it downloaded many packages and built them
but at the end came an error:
Successfully built flask-swagger langdetect sacremoses pysrt
Installing collected packages: sentencepiece, pytz, polib, mpmath,
morfessor, lexilang, expiringdict, commonmark, appdirs, wrapt,
waitress, urllib3, tzlocal, typing-extensions, tqdm, sympy, soupsieve,
six, regex, PyYAML, PyMuPDF, pygments, protobuf, prometheus-client,
packaging, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12,
nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12,
nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12,
numpy, networkx, MarkupSafe, lxml, joblib, itsdangerous, idna, fsspec,
filelock, click, charset-normalizer, chardet, certifi, Babel,
async-timeout, werkzeug, triton, sacremoses, rich, requests, redis,
pysrt, nvidia-cusparse-cu12, nvidia-cudnn-cu12, langdetect, Jinja2,
deprecated, ctranslate2, beautifulsoup4, apscheduler,
nvidia-cusolver-cu12, limits, flask, torch, flask-swagger-ui,
flask-swagger, flask-limiter, flask-babel, stanza, argostranslate,
translatehtml, argos-translate-files, libretranslate
ERROR: Could not install packages due to an OSError: [Errno 30]
Das Dateisystem ist nur lesbar/ filesystem is only readable:
'/gnu/store/klzq7vpf4fsklsn0bi3s569xhrqkq3h2-python-3.11.14/lib/python3.11/site-packages/sentencepiece'
what can I do?
thanks
Gottfried