ubuntu-20.04

Running poetry fails with /usr/bin/env: ‘python’: No such file or directory

Running poetry fails with /usr/bin/env: ‘python’: No such file or directory Question: I just installed poetry with the following install script curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 However, when I execute poetry it fails with the following error $ poetry /usr/bin/env: ‘python’: No such file or directory I recently upgraded to ubuntu 20.04, is this an …

Total answers: 3

Ubuntu 20.04 upgrade, Python missing libffi.so.6

Ubuntu 20.04 upgrade, Python missing libffi.so.6 Question: I recently upgraded my OS to Ubuntu 20.04 LTS. Now when I try to import a library like Numpy in Python, I get the following error: ImportError: libffi.so.6: cannot open shared object file: No such file or directory I tried installing the libffi package, but apt can’t locate …

Total answers: 9

Python 3.7 on Ubuntu 20.04

Python 3.7 on Ubuntu 20.04 Question: I am preparing a docker image for Ubuntu 20.04 and due to TensorFlow 2.0 requirement, I need Python 3.7. TensorFlow runs on Python 3.5 to 3.7. Running apt install python3 installs Python 3.8 by default and that breaks my TensorFlow installation. Is there any way I can get an …

Total answers: 2