Installation of pychorm under ubuntu system

The installation of python under the ubuntu system, the installation of pyenv and the installation of pycharm.
In the bantu system, there is usually a version of pyenv, but this version is generally 2.x and needs to be upgraded. In general, use ctrl+alt+t to open the terminal, and enter
sudo apt-get update in the terminal to get the upgrade .
sudo apt-get install git // install git
git clone https://github.com/yyuu/pyenv.git ~/.pyenv// install pyenv

Add the following three lines of code at the end of ~/.bashrc:
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

Then close the terminal and open it again. Enter pyenv and see if it works. (provided you do it right)
pyenv install 3.5.1//Install the 3.5.1 version of pyenv, of course you can also install other versions. //pyenv install --list This statement is a list of versions.
pyenv rehash // refresh the database
pyenv global 3.5.1//Global pyenv is version 3.5.1
pip install --upgrade//install pip
sudo apt-get update//update all software


Download the lunix version of pycharm from the official website of pycharm, and you can use Baidu yourself.
After downloading, extract it to the current folder.
Enter the following command in the terminal
cd download // enter the download folder
cd pycharm
cd bin
sh pycharm.sh

When you need to write a registration code, you can search for the registration code from the Internet.
After the installation is complete, right-click the lock on the taskbar to open it at any time.                                                

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326724365&siteId=291194637
Recommended