usr/local/lib/python3.6/site-packages/numpy/_init_.py # 結果を確認する。 $ python -c 'import sys print(sys.version) import numpy print(numpy._file_) import scipy print(scipy._file_)'ģ.6.10 (default, May 9 2020, 18:32:23 ) Requirement already satisfied: numpy> =1.13.3 in /usr/local/lib/python3.6/site-packages (from scipy ) (1.18.4 )Ĭould not build wheels for numpy, since package 'wheel' is not installed. (c) しかし、 /usr/bin/pythonは /etc/alternatives/python へのsymbolic linkなので、 /etc/alternatives/python が呼び出される。.Lrwxrwxrwx 1 root root 25 May 9 19:27 /etc/alternatives/python -> /opt/Python-3.6.10/python Lrwxrwxrwx 1 root root 16 Mar 13 08:20 python3-config -> python3.8-config Lrwxrwxrwx 1 root root 33 Apr 27 11:53 python3.8-config -> x86_64-linux-gnu-python3.8-config Lrwxrwxrwx 1 root root 9 May 8 17:33 python3 -> python3.8 Lrwxrwxrwx 1 root root 24 May 9 18:20 python -> /etc/alternatives/python Press to keep the current choice, or type selection number: 1 * 1 /opt/Python-3.6.10/python 1 manual mode There are 3 choices for the alternative python (providing /usr/bin/python ). $ sudo update-alternatives -config python $ sudo update-alternatives -install /usr/bin/python python /usr/bin/python3.8 3 $ sudo update-alternatives -install /usr/bin/python python /opt/Python-3.8.0/python 2 $ sudo update-alternatives -install /usr/bin/python python /opt/Python-3.6.10/python 1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |