![]() The result of this command is: 0 lrwxrwxrwx 1 root root 9 /usr/bin/python -> python2.7Ġ lrwxrwxrwx 1 root root 9 /usr/bin/python2 -> python2.7ģ412 -rwxr-xr-x 1 root root 3492656 /usr/bin/python2.7Ġ lrwxrwxrwx 1 root root 33 /usr/bin/python2.7-config -> x86_64-linux-gnu-python2.7-configĠ lrwxrwxrwx 1 root root 16 /usr/bin/python2-config -> python2.7-configĠ lrwxrwxrwx 1 root root 9 Apr 10 19:43 /usr/bin/python3 -> python3.5Ĥ360 -rwxr-xr-x 2 root root 4464400 /usr/bin/python3.5Ġ lrwxrwxrwx 1 root root 33 /usr/bin/python3.5-config -> x86_64-linux-gnu-python3.5-configĤ360 -rwxr-xr-x 2 root root 4464400 /usr/bin/python3.5mĠ lrwxrwxrwx 1 root root 34 /usr/bin/python3.5m-config -> x86_64-linux-gnu-python3.5m-configĠ lrwxrwxrwx 1 root root 16 /usr/bin/python3-config -> python3.5-configĠ lrwxrwxrwx 1 root root 10 Apr 10 19:43 /usr/bin/python3m -> python3.5mĠ lrwxrwxrwx 1 root root 17 /usr/bin/python3m-config -> python3.5m-configĠ lrwxrwxrwx 1 root root 16 /usr/bin/python-config -> python2.7-configĪnother way to list python installations is by: whereis pythonĪnd the result is: python: /usr/bin/python2.7-config /usr/bin/python3.5 /usr/bin/python3.5m-config /usr/bin/python /usr/bin/python2.7 /usr/bin/python3.5-config /usr/bin/python3.5m /usr/lib/python3.5 /usr/lib/python2.7 /etc/python3.5 /etc/python /etc/python2.7 /usr/local/lib/python3.5 /usr/local/lib/python2.7 /usr/include/python3.5 /usr/include/python2.7 /usr/include/python3.5m /usr/share/python /usr/share/man/man1/python.1.gzĪlternatively you can see the alternatives with: update-alternatives -list pythonĪs you can see from both results we get python 2.7 and 3.5. Then you can list all python installations there by: ls -ls /usr/bin/python* Check where python is installed: which python If you want to see where and what python versions are installed on your machine you can do it by following commands. Install latest python 3.7 on Ubuntu 18/Linux Mint 18.The following article is tested on Ubuntu 18 and Linux Mint 18. The latest versions gives many advantages like: It is a good idea to list all installed versions on your machine and install the latest ones. ![]() The version which is installed could be a few versions behind the latest stable release. Not the ones prior to it.Python is installed by default in Ubuntu and Linux Mint. In another forum I learnt that 3.9.1 is the python supported for Monterey. Make: *** No targets specified and no makefile found. noĬonfigure: error: Unexpected output of 'arch' on OSX noĬhecking whether pthread_key_t is compatible with int. Results logged to /var/folders/3f/l881d_r17qj_2q0kt5_6ll9h0000gn/T/Ĭhecking whether to enable large file support. ![]() ![]() However, when I used brew install for all packages including pyenv, pyenv-virtualenv - I was able to have multiple python virtual environments on 2.7.18, 3.9.9 on latest Monterey using M1 silicon 14" pro.įor default Python 3.8.9, I am seeing build errors for pyenv install 3.8.9 command: pyenv install 3.8.9īUILD FAILED (OS X 12.0.1 using python-build 20180424) ![]() An update on /intro-to-pyenv/ I had issues with pyenchant not being able to find enchant C library when I used pyenv installer as suggested in this link. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |