python3.6 centos7 に インストールして helloworld♪
python を ダウンロードしようぜ
sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm
sudo yum install python36u python36u-libs python36u-devel python36u-pip
sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm
sudo yum install python36u python36u-libs python36u-devel python36u-pip
チェック
python3.6 -V
pip のパスも通す
バージョン管理するのに必要。
which pip3.6
sudo ln -s /bin/pip3.6 /usr/bin/pip
pip --version
helloworldしよぜっ☆ hoge.py を作る
vim hoge.py
import time
print("Hello World!!")
time.sleep(3)
実行
python3.6 hoge.py
これであなたもぴゃーそんマスター!
Author And Source
この問題について(python3.6 centos7 に インストールして helloworld♪), 我々は、より多くの情報をここで見つけました https://qiita.com/ma7ma7pipipi/items/925e2f68ed7eaacf595d著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .