Mac
1. pip3 install virtualenv
2. python3 -m venv MYENV
3. source ./MYENV./bin/activate
Ubuntu
1. virtualenv -p /usr/bin/python3 MYENV
2. source ./MYENV/bin/activate
本地terminal远程登录服务器ubuntu看图方法:
远程安装
参考 https://www.thegeekstuff.com/2010/06/xhost-cannot-open-display/
sudo apt-get update && sudo apt-get install imagemagick
xhost +
重新登录
ssh username@hostname -X #x11启动
display pic.png