Error while trying to use REPL

Hi, I had everything working fine earlier, but after a system update I'm not able to run REFL. I've swift installed and it shows version number when I run swift --version, but gives an error when I try to access REPL by running the command swift. I'm getting the following error:

/home/tushar/swift-5.4.1-RELEASE-ubuntu20.04/usr/bin/lldb: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
1 Like

Hi Tushar

Have you been able to resolve this issue?

I've installed Swift on Ubuntu 20.4 and get the same problem. I did find libpython3.8.so.1.0 and added it to /usr/lib. Then I get another error message reporting another library is missing.

I look forward to a reply.

Gary

Terms of Service

Privacy Policy

Cookie Policy