How to install python3.7 and create a virtualenv with pip on Ubuntu 18.04?

I don’t know if it’s best practices or not, but if I also install python3-venv and python3.7-venv then everything works (this is tested on a fresh stock Debian buster docker image): % sudo apt install python3.7 python3-venv python3.7-venv % python3.7 -m venv py37-venv % . py37-venv/bin/activate (py37-venv) % Note that it also installs all of … Read more

ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

I downloaded cuda 10.0 from the following link CUDA 10.0 Then I installed it using the following commands: sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb sudo apt-key adv –fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub sudo apt-get update sudo apt-get install cuda-10-0 I then installed cudnn v7.5.0 for CUDA 10.0 by going to link CUDNN download and you need to logon using an … Read more

WSL Redis encountered System has not been booted with systemd as init system (PID 1). Can’t operate [closed]

Instead, use: sudo service redis-server start I had the same problem, stopping/starting other services from within Ubuntu on WSL. This worked, where systemctl did not. And one could reasonably wonder, “how would you know that the service name was ‘redis-server’?” You can see them using service –status-all