#前提
現在、pythonアプリケーションをCentOSに作成しようと初期構築段階です。
#課題
python2系は動くのですが、3系を動かそうとするとcannot execute binary fileとでて
動かすことができず。
どういった調査・解決策を打つべきか分からずご教示お願いします。。
[root@instance-1 /]# ls -1 /usr/bin/* | grep python /usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.6 /usr/bin/python3.6-config /usr/bin/python3.6m /usr/bin/python3.6m-config /usr/bin/python3.6m-x86_64-config [root@instance-1 /]# /usr/bin/python3 bash: /usr/bin/python3: cannot execute binary file [root@instance-1 /]# /usr/bin/python2 Python 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/26 08:19
2019/05/26 08:25
2019/05/26 08:34