現在のバージョン確認
[root@falcon21~]# python -V
Python 2.7.5

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

Python3をインストール
IUSというリポジトリを追加
[root@falcon21 ~]# yum install -y https://centos7.iuscommunity.org/ius-release.rpm
読み込んだプラグイン:fastestmirror, langpacks, priorities, show-leaves
ius-release.rpm | 8.1 kB 00:00:00
/var/tmp/yum-root-4ezQjS/ius-release.rpm を調べています: ius-release-1.0-15.ius.centos7.noarch
/var/tmp/yum-root-4ezQjS/ius-release.rpm: インストールされたパッケージを更新しません。


パッケージ検索
[root@falcon21 ~]# yum search python36

331 packages excluded due to repository priority protections
======================================= N/S matched: python36 =======================================
rh-python36.x86_64 : Package that installs rh-python36
rh-python36-runtime.x86_64 : Package that handles rh-python36 Software Collection.
rh-python36-scldevel.x86_64 : Package shipping development files for rh-python36
python36.x86_64 : Interpreter of the Python programming language
python36-asn1crypto.noarch : Fast Python ASN.1 parser and serializer
python36-blosc.x86_64 : Python wrapper for the blosc high performance compressor
python36-bsddb3.x86_64 : Python 3 bindings for Berkeley DB
python36-chardet.noarch : Character encoding auto-detection in Python 3.6
python36-click.noarch : Simple wrapper around optparse for powerful command line utilities
python36-coverage.x86_64 : Code coverage testing module for Python 36
python36-cups.x86_64 : Python 3 bindings for CUPS API, known as pycups
python36-debug.x86_64 : Debug version of the Python runtime
python36-devel.x86_64 : Libraries and header files needed for Python development
python36-empy.noarch : A powerful and robust template system for Python
python36-idle.x86_64 : A basic graphical development environment for Python
python36-idna.noarch : Internationalized Domain Names in Applications (IDNA)
python36-jsmva.noarch : TMVA interface used by JupyROOT
python36-jupyroot.x86_64 : ROOT Jupyter kernel
python36-leveldb.x86_64 : Python bindings for leveldb database library
python36-lhapdf.x86_64 : Les Houches Accord PDF Interface - Python 3 module
python36-libs.x86_64 : Python runtime libraries
python36-mock.noarch : A Python Mocking and Patching Library for Testing
python36-nose.noarch : Discovery-based unittest extension for Python 3.6
python36-numpy.x86_64 : A fast multidimensional array facility for Python 3.6
python36-numpy-f2py.x86_64 : f2py for numpy
python36-parso.noarch : Parser that supports error recovery and round-trip parsing
python36-pbr.noarch : Python Build Reasonableness
python36-pdir2.noarch : Pretty dir() printing with joy
python36-pip.noarch : A tool for installing and managing Python3 packages
python36-process-tests.noarch : Tools for testing processes
python36-psutil.x86_64 : A process and system utilities module for Python
python36-py.noarch : Library with cross-python path, ini-parsing, io, code, log facilities
python36-py4j.noarch : Py4J enables Python3 programs to dynamically access arbitrary Java objects
python36-pycryptodomex.x86_64 : A self-contained cryptographic library for Python
python36-pygraphviz.x86_64 : Create and Manipulate Graphs and Networks
python36-pysocks.noarch : A Python SOCKS client module
python36-pytest.noarch : Simple powerful testing with Python
python36-pythia8.x86_64 : Pythia 8 Python 3 bindings
python36-pyvirtualize.noarch : Python module to access and manage VMware
python36-pyvmomi.noarch : VMware vSphere SDK for Python3.6
python36-requests.noarch : HTTP library, written in Python, for human beings
python36-root.x86_64 : Python extension for ROOT
python36-setuptools.noarch : Easily build and distribute Python 36 packages
python36-six.noarch : Python 2 and 3 compatibility utilities
python36-slacker.noarch : Slack API client
python36-test.x86_64 : The self-test suite for the main python3 package
python36-tkinter.x86_64 : A GUI toolkit for Python
python36-urllib3.noarch : Python 3.4 HTTP library with thread-safe connection pooling and file post
python36-uwsgidecorators.x86_64 : Python 3.6 decorators providing access to the uwsgi API
python36-virtualenv.noarch : Documentation for python virtualenv
python36-xrootd.x86_64 : Python 3 bindings for xrootd
python36u.x86_64 : Interpreter of the Python programming language
python36u-devel.x86_64 : Libraries and header files needed for Python development
python36u-libs.x86_64 : Python runtime libraries
python36u-pip.noarch : A tool for installing and managing Python packages
python36u-setuptools.noarch : Easily build and distribute Python packages
rh-python36-PyYAML.x86_64 : YAML parser and emitter for Python
rh-python36-babel.noarch : Tools for internationalizing Python applications
rh-python36-build.x86_64 : Package shipping basic build configuration
rh-python36-mod_wsgi.x86_64 : A WSGI interface for Python web applications in Apache
rh-python36-numpy.x86_64 : A fast multidimensional array facility for Python
rh-python36-numpy-f2py.x86_64 : f2py for numpy
rh-python36-python.x86_64 : Version 3 of the Python programming language aka Python 3000
rh-python36-python-PyMySQL.noarch : Pure-Python MySQL client library
rh-python36-python-babel.noarch : Library for internationalizing Python applications
rh-python36-python-bson.x86_64 : Python bson library
rh-python36-python-coverage.x86_64 : Code coverage testing module for Python
rh-python36-python-debug.x86_64 : Debug version of the Python 3 runtime
rh-python36-python-devel.x86_64 : Libraries and header files needed for Python 3 development
rh-python36-python-docutils.noarch : System for processing plaintext documentation
rh-python36-python-jinja2.noarch : General purpose template engine
rh-python36-python-libs.x86_64 : Python 3 runtime libraries
rh-python36-python-markupsafe.x86_64 : Implements a XML/HTML/XHTML Markup safe string for Python
rh-python36-python-nose.noarch : Discovery-based unittest extension for Python
rh-python36-python-nose-docs.noarch : Nose Documentation
rh-python36-python-pip.noarch : A tool for installing and managing Python packages
rh-python36-python-psycopg2.x86_64 : A PostgreSQL database adapter for Python
rh-python36-python-psycopg2-doc.x86_64 : Documentation for psycopg python PostgreSQL database adapter
rh-python36-python-pygments.noarch : Syntax highlighting engine written in Python
rh-python36-python-pymongo.x86_64 : Python driver for MongoDB
rh-python36-python-pymongo-doc.x86_64 : Documentation for python-pymongo
rh-python36-python-pymongo-gridfs.x86_64 : Python GridFS driver for MongoDB
rh-python36-python-setuptools.noarch : Easily build and distribute Python packages
rh-python36-python-simplejson.x86_64 : Simple, fast, extensible JSON encoder/decoder for Python
rh-python36-python-six.noarch : Python 2 and 3 compatibility utilities
rh-python36-python-sphinx.noarch : Python documentation generator
rh-python36-python-sphinx-doc.noarch : Documentation for python-sphinx
rh-python36-python-sqlalchemy.x86_64 : Modular and flexible ORM library for python
rh-python36-python-test.x86_64 : The test modules from the main python 3 package
rh-python36-python-tkinter.x86_64 : A GUI toolkit for Python 3
rh-python36-python-tools.x86_64 : A collection of tools included with Python 3
rh-python36-python-virtualenv.noarch : Tool to create isolated Python environments
rh-python36-python-wheel.noarch : A built-package format for Python
rh-python36-scipy.x86_64 : Scipy: Scientific Tools for Python
uwsgi-plugin-python36.x86_64 : uWSGI - Plugin for Python 3.6 support
uwsgi-plugin-python36-gevent.x86_64 : uWSGI - Plugin for Python 3.6 GEvent support

Name and summary matches only, use "search all" for everything.


必要そうなパッケージをインストール
[root@falcon21 ~]# yum install python36u python36u-libs python36u-devel python36u-pip


[root@falcon21 ~]# python --version
Python 2.7.5


[root@falcon21 ~]# python3.6 --version
Python 3.6.5
 

投票数:0 平均点:0.00

 
Back to Top