ubuntu-18.04

Android Studio: /dev/kvm device permission denied

回眸只為那壹抹淺笑 提交于 2019-11-27 08:55:20
问题 When I try to run my Android app on an emulator I get this error: /dev/kvm permission denied. I checked the permissions and added the user I am currently logged in with to the kvm group. What is wrong? 回答1: As mentioned in the comments, starting with Ubuntu 18.04 and Linux Mint Tara you need to first sudo apt install qemu-kvm . To check the ownership of /dev/kvm use ls -al /dev/kvm The user was root , the group kvm . To check which users are in the kvm group, use grep kvm /etc/group This

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

梦想的初衷 提交于 2019-11-27 02:56:35
问题 I have installed Cuda 10.1 and cudnn on Ubuntu 18.04 and it seems to be installed properly as type nvcc and nvidia-smi, I get proper response: user:~$ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Fri_Feb__8_19:08:17_PST_2019 Cuda compilation tools, release 10.1, V10.1.105 user:~$ nvidia-smi Mon Mar 18 14:36:47 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA