~ pyenv versions     
                  
                  
                  * system (set by /home/test/.pyenv/version)
                  
                  
                    3.8.9
                  
                  
                  ➜  ~ pyenv global 3.8.9
                  
                  
                  ➜  ~ which python
                  
                  
                  /usr/bin/python
                  
                  
                  ➜  ~ which python                                                                          
                  
                  
                  /usr/bin/python
                  
                  
                  ➜  ~ ls -l /usr/bin/python
                  
                  
                  lrwxrwxrwx 1 root root 7 апр 15  2020 /usr/bin/python -> python3
                  
                  
                  ➜  ~ ls -l /usr/bin/python3
                  
                  
                  lrwxrwxrwx 1 root root 9 фев 27 11:22 /usr/bin/python3 -> python3.8
                  
                  
                  ➜  ~ pyenv versions    
                  
                  
                    system
                  
                  
                  * 3.8.9 (set by /home/test/.pyenv/version)
                  
                  
                  ➜  ~ python -V     
                  
                  
                  Python 3.8.10
                  
                  
                
потому что ты не настроил пути
Обсуждают сегодня