Open andreydung opened 3 years ago
Hi @andreydung :wave:
It looks like you might need to install libcurl4
or similar. If on Ubuntu 16.04, you'll need to install fiftyone-db-ubuntu1604
.
pip install fiftyone-db-ubuntu1604
More details can be found here.
I just got this error when trying to launch FiftyOne on an EC2 instance running Amazon Linux:
$ python3 -m venv myenv
$ source ~/myenv/bin/activate
$ pip install ipython fiftyone
$ grep ^NAME /etc/*release
/etc/os-release:NAME="Amazon Linux"
import fiftyone
Subprocess ['/home/ec2-user/fifty3/lib64/python3.7/site-packages/fiftyone/db/bin/mongod', '--dbpath', '/home/ec2-user/.fiftyone/var/lib/mongo', '--logpath', '/home/ec2-user/.fiftyone/var/lib/mongo/log/mongo.log', '--port', '0', '--nounixsocket'] exited with error 127:
/home/ec2-user/fifty3/lib64/python3.7/site-packages/fiftyone/db/bin/mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
I meet the same problem.
libssl
packages are needed. I will add a troubleshooting note in the docs
I just got this error when trying to launch FiftyOne on an EC2 instance running Amazon Linux:
$ python3 -m venv myenv $ source ~/myenv/bin/activate $ pip install ipython fiftyone $ grep ^NAME /etc/*release /etc/os-release:NAME="Amazon Linux"
import fiftyone
Subprocess ['/home/ec2-user/fifty3/lib64/python3.7/site-packages/fiftyone/db/bin/mongod', '--dbpath', '/home/ec2-user/.fiftyone/var/lib/mongo', '--logpath', '/home/ec2-user/.fiftyone/var/lib/mongo/log/mongo.log', '--port', '0', '--nounixsocket'] exited with error 127: /home/ec2-user/fifty3/lib64/python3.7/site-packages/fiftyone/db/bin/mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
解决了么,老铁?(did you address it )
For those using pacman
, installing openssl 1.1
worked for me:
sudo pacman -U https://mirror.cmt.de/archlinux/core/os/x86_64/openssl-1.1-1.1.1.s-4-x86_64.pkg.tar.zst
System information
Linux 75237172f222 4.15.0-122-generic #124-Ubuntu SMP Thu Oct 15 13:03:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
fiftyone --version
):Commands to reproduce
Created conda environment for fiftyone. Then install it using pip as usual.
Describe the problem
The following error occurs while importing FiftyOne: