deepin Python pycharm installation

1.wget obtain the installation package:
    wget http://www.python.org/ftp/python/3.6.2/Python-3.6.2.tgz

2. Extract the installation package:
    the tar-3.6.2.tgz -xvzf the Python

3. Check the mounting platform property, the amount of libraries, and the repository meets the needs compile time whether the system has compiled the required
   ./configure --prefix = / usr / local / python3.7 --enable-optimizations --with-ssl

4. Compile the source code  
compilation need a lot of libraries APT-GET install gcc sudo libffi-dev-dev for libssl
    the make -j4

5. After a successful compile, install
    sudo make install

After installing, we hope to use pip3 command to install numpy. First, use the following command to install pip3:
the sudo to python3 the install-PIP

 

Create a soft link:

sudo ln -s /usr/local/python3.7/bin/python3.7 /usr/local/bin/python3.7

sudo ln -s /usr/local/python3.7/bin/pip3.7 /usr/local/bin/pip3

-------------------------------------------------------------------

 


Pycharm installation

1. Download

2. 解压  tar -zxvf  pycharm-professional-2018.2.5.tar.gz

3. Change the hosts file (sudo vim etc / hosts), add a line of code: 0.0.0.0 account.jetbrains.com

 

homescreen icon:

Touch /usr/share/applications/pycharm.desktop sudo
sudo vim /usr/share/applications/pycharm.desktop
writes the following:
    

[Desktop the Entry] 
Version = 1.0 
the Type = the Application 
the Name = PyCharm 
Icon = / Home / vickyleexy / Downloads / pycharm- 2018.2 . . 5 / bin / location pycharm.png icon file 
Exec = /home/vickyleexy/Downloads/pycharm-2018.2. 5 / bin / pycharm.sh starting position of the file 
Comment = of the Drive to Develop 
the Categories = Development; the IDE; 
Terminal = to false 
StartupWMClass = JetBrains-PyCharm

sudo chmod u + x /usr/share/applications/pycharm.desktop add executable permissions

Guess you like

Origin www.cnblogs.com/chengege/p/12128146.html