epfml / sent2vec

General purpose unsupervised sentence representations
Other
1.19k stars 256 forks source link

Docker: Unable to locate package libevent-pthreads-2.1-6 #127

Open phdru opened 1 year ago

phdru commented 1 year ago
$ sudo docker build .
…
Step 8/13 : RUN apt-get install -y python3-pip python3-dev build-essential libevent-pthreads-2.1-6
 ---> Running in 487a2b23ed45
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libevent-pthreads-2.1-6
E: Couldn't find any package by glob 'libevent-pthreads-2.1-6'
E: Couldn't find any package by regex 'libevent-pthreads-2.1-6'
The command '/bin/sh -c apt-get install -y python3-pip python3-dev build-essential libevent-pthreads-2.1-6' returned a non-zero code: 100
phdru commented 1 year ago

Came from https://stackoverflow.com/questions/74914845/how-to-download-sent2vec-library/74915462#comment132217315_74915462

phdru commented 1 year ago

https://packages.ubuntu.com/search?keywords=libevent-pthreads&searchon=names&suite=all&section=all

The current version seems to be libevent-pthreads-2.1-7.

phdru commented 1 year ago

FROM ubuntu:18.04 works for me better (with the latest Ubuntu and latest Python there were other Python-related errors).