Set up Python environment on CentOS

Set up until you can use Spyder

  1. Gnome - http://www.server-world.info/query?os=CentOS_6&p=x
  2. VNC - https://www.ipentec.com/document/document.aspx?page=linux-centos-60-vncserver-tigervncserver-install --Edit the end of `~ / vnc / xstartup` as follows
    #twm &
    exec gnome-session
    
    • Start-up

      vncserver -geometry 1920x1080
      

    --Remember the display number and specify 0.0.0.0:2 etc. when connecting. --RealVNC client for Windows, F8 to get out of full screen.

  3. Git --Build and install the latest version from source - http://www.task-notes.com/entry/20150622/1434942000
  4. pyenv --Install pyenv
    sudo ln -s /usr/local/bin/git /usr/bin`
    sudo git clone https://github.com/yyuu/pyenv.git /usr/local/pyenv
    

    --Environment settings for all users. Add the following to / etc / bashrc and / etc / zsh / zshrc.

    export PYENV_ROOT=/usr/local/pyenv
    export PATH="$PYENV_ROOT/bin:$PATH"
    eval "$(pyenv init -)"
    sudopy () {
      sudo bash -c "export PYENV_ROOT=/usr/local/pyenv; export PATH=\$PYENV_ROOT/shims:\$PYENV_ROOT/bin:\$PATH; $*"
    }
    

    --Install the appropriate version

    sudopy pyenv install anaconda2-4.0.0
    

Recommended Posts

Set up Python environment on CentOS
Set up Python 3.4 on Ubuntu
Set up python Tornado environment on raspbian jessie
Set up a Python development environment on Marvericks
Create a python environment on centos
Build a python3 environment on CentOS7
Install Python3.4 on CentOS 6.6
Install Python 2.7.3 on CentOS 5.4
Build a python environment with ansible on centos6
Set up an Objective-C 2.0 development environment on Linux
Setting up grub on CentOS 8
Until docker-compose up on CentOS7
Anaconda environment construction on CentOS7
Set Up for Mac (Python)
Install Python 3.8 on CentOS 7 (SCL)
Build python environment on windows
Set up Polyglot on Windows
Install Python 3.8 on CentOS 8 (AppStream)
Notes on installing Python on CentOS
How to set up a Python environment using pyenv
I set up Django from scratch (Vagrant, Centos, Python3)
PySpark: Set up PySpark on your Alibaba Cloud CentOS instance
Set up a Python development environment with Sublime Text 2
Set up python and machine learning libraries on Ubuntu
Building a Python environment on Mac
Python environment construction memo on Windows 10
Prepare Python development environment on Ubuntu
Set up a Python development environment with Visual Studio Code
Anaconda python environment construction on Windows 10
Building a Python environment on Ubuntu
Install python2.7 on windows 32bit environment
Kivy + Python3 on OSX environment maintenance
Create a Python environment on Mac (2017/4)
Python environment construction memo on Mac
Python development environment construction on macOS
Environment construction of python3.8 on mac
Python3 environment construction with pyenv-virtualenv (CentOS 7.3)
Install Python development environment on Windows 10
Install Python on CentOS using Pyenv
Build Python 3.8 + Pipenv environment on Ubuntu 18.04
Introduce Python 3.5.2 environment on Amazon Linux
Install Python on CentOS using pyenv
Build a python environment on CentOS 7.7 for your home server
OpenCV3 & Python3 environment construction on Ubuntu
I want to set up a GUI development environment with Python or Golang on Mac
I set the python operating environment on OSX Yosemite (pyenv + pip)
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Build Python3 and OpenCV environment on Ubuntu 18.04
Build a python environment on MacOS (Catallina)
Python virtual environment and packages on Ubuntu
Create a python environment on your Mac
Set the environment variable PYTHONPATH on zsh
A memo with Python2.7 and Python3 on CentOS
Steps to install Python environment on Ubuntu
Creating a python virtual environment on Windows
Connecting from python to MySQL on CentOS 6.4
Set up Pipenv in Pycharm in Windows environment
Build Python environment with Anaconda on Mac
Build WordPress on CentOS 8 in LAMP environment
Create an OpenCV3 + python3 environment on OSX
Build a Python + OpenCV environment on Cloud9