Open jzztf opened 6 years ago
原来设置的python环境,系统默认为3,6, vim里识别为2.7, 按照下面的issue添加python环境设置,生效 https://github.com/powerline/powerline/issues/521
报错:
E: 无法打开锁文件 /var/lib/dpkg/lock - open (13: 权限不够)
E: 无法对状态列表目录加锁(/var/lib/dpkg/),请查看您是否正以 root 用户运行?
解决办法如下:
ps aux | grep apt
找到含有apt
的进程,sudo kill PID
。
强制解锁
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
./install.py
编译失败sudo apt update
sudo apt install -y build-essential
links:
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence
参考: https://stackoverflow.com/questions/28165639/unicodedecodeerror-gbk-codec-cant-decode-byte-0x80-in-position-0-illegal-mult
报错代码