确认下系统版本是否是cosmic:
(python3.6) appleyuchi@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
deb http://mirrors.aliyun.com/ubuntu/ cosmic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ cosmic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ cosmic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ cosmic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ cosmic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ cosmic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ cosmic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ cosmic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ cosmic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ cosmic-backports main restricted universe multiverse