Home >Backend Development >Python Tutorial >Ubuntu16.04 server deployment Python environment method
Just execute it line by line, you have a solution
sudo apt update sudo apt install git sudo apt install vim sudo apt install tmux sudo apt install zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"tmux sudo apt-get install libssl-devsudo sudo curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bashecho 'export PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrcecho 'eval "$(pyenv init -)"' >> ~/.zshrcecho 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrcsource ~/.zshrc v=3.5.2|wget http://mirrors.sohu.com/python/$v/Python-$v.tar.xz -P ~/.pyenv/cache/;pyenv install $vpyenv virtualenv 3.5.2 server pyenv global server pip install --upgrade pip sudo apt isntall mysql-client sudo apt install libmysqlclient-dev sudo apt install mysql-server sudo apt install postgresql
pycharm latest registration method lisence server: http://idea.iteblog.com/key.php
The above is the detailed content of Ubuntu16.04 server deployment Python environment method. For more information, please follow other related articles on the PHP Chinese website!