Annonce

Réduire
Aucune annonce.

Installation ortho4xp sur MacOS Monterey

Réduire
X
 
  • Filtre
  • Heure
  • Afficher
Tout nettoyer
nouveaux messages

  • #1
    Envoyé par Stef_1392 Voir le message

    rien du tout...
    which -a python3
    et
    python3--version
    Dernière modification par jasum, 07 octobre 2022, 16h46.
    Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

    Commentaire


    • #1
      which python3
      /usr/local/bin/python3

      python3--version
      -bash: python3--version: command not found
      Matériel : MacBook Pro 2016 / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 / Radeon Pro 460 4Go VRAM - Système Monterey 12.6

      Commentaire


      • #1
        Envoyé par Stef_1392 Voir le message
        which python3
        /usr/local/bin/python3

        python3--version
        -bash: python3--version: command not found
        Il manque un espace entre python3 et --version :
        python3 --version
        Mac Flight1 : X-Plane 12.4.4-b1 - macOS Sequoia 15.8
        iMac 27" - i9-9900K - 32 Go - SSD 1 To
        AMD Radeon Pro Vega 48 8 Go

        SSD externe 4 To (Orthophotos)
        8BitDo SN30 Pro v2 - Winwing FCU+EFIS-L
        Mac Flight2 : X-Plane 12.4.4-b1 - macOS Golden Gate 27.0
        MBP 16" - M3 Max 16/40 - 48 Go - SSD 512 Go
        8BitDo SN30 Pro v2

        Hangar LFFA : A20N-A321-A339-A346-A359
        B748-B767-B777-EPIC-EVOT

        Commentaire


        • #1
          en rajoutant un espace après python3; soit python3 --version :
          Python 3.9.7

          Merci MortyMars
          Matériel : MacBook Pro 2016 / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 / Radeon Pro 460 4Go VRAM - Système Monterey 12.6

          Commentaire


          • #1
            Envoyé par Stef_1392 Voir le message
            which python3
            /usr/local/bin/python3
            C'est la version python-3.9 de homebrew qui est active dans ton PATH,
            tu as le choix:
            soit tu supprimes la version 3.10 de homebrew et tu installes Ortho4XP avec la version qui est active ou tu supprimes la 3.9 et active la 3.10;
            soit tu installes pyenv (avec brew) pour gérer les multiples versions de python (il existe des tutos bien faits pour son utlisation).
            Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

            Commentaire


            • #1
              Ne comprenant rien au terminal (et aussi à python), j'essaye de comprendre les commandes avec le tuto : https://www.ianmaddaus.com/post/mana...ns-python-mac/
              qui me semble assez bien fait pour ceux que ça intéresse (mais en anglais)

              Dedans, il est dit qu'il ne faut surtout pas supprimer la version python d'Apple et apparemment depuis Monterey, c'est la 3.x (avant c'était la 2.7)
              Donc, je ne me vois pas supprimer la 3.9.7

              Envoyé par jasum Voir le message

              C'est la version python-3.9 de homebrew qui est active dans ton PATH,
              Sauf que si je suis le tuto (voir lien ci-dessus) et que j'utilise la commande brew list | grep 'python', ça doit me lister les versions installées par homebrew et j'obtiens :
              python-tk@3.10
              python@3.10

              j'en déduis que la 3.9 n'a pas été installée par homebrew...
              Matériel : MacBook Pro 2016 / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 / Radeon Pro 460 4Go VRAM - Système Monterey 12.6

              Commentaire


              • #1
                Envoyé par Stef_1392 Voir le message
                Ne comprenant rien au terminal (et aussi à python), j'essaye de comprendre les commandes avec le tuto : https://www.ianmaddaus.com/post/mana...ns-python-mac/
                qui me semble assez bien fait pour ceux que ça intéresse (mais en anglais)

                Dedans, il est dit qu'il ne faut surtout pas supprimer la version python d'Apple et apparemment depuis Monterey, c'est la 3.x (avant c'était la 2.7)
                Donc, je ne me vois pas supprimer la 3.9.7



                Sauf que si je suis le tuto (voir lien ci-dessus) et que j'utilise la commande brew list | grep 'python', ça doit me lister les versions installées par homebrew et j'obtiens :
                python-tk@3.10
                python@3.10

                j'en déduis que la 3.9 n'a pas été installée par homebrew...
                Tu as précédement mentionné:

                "Du coup, je ne sais pas où voir mes différentes versions et laquelle supprimer ?

                J'ai repéré : Python3.9 dans /Applications
                et dans le dossier /usr/local/lib : j'ai python3.9 et python3.10"

                MacOs n'installe rien par default dans /usr/local/bin

                Tu as 3 versions python installées dans ton system:

                python-3.9 : /usr/bin/python version 3.9 (celui de ton system "Application")

                python-3.9: /usr/local/bin/python version 3.9 ( brew) celle active dans ton PATH

                python-3.10; /usr/local/bin/python version 3.10 (brew)

                C'est le python: /usr/local/bin/python version-3.9 (brew) ou version python version-3.10 que tu pourrais eventuelemnt desinstaller, attention desinstaller correctement pas simplement supprimer .
                Dernière modification par jasum, 07 octobre 2022, 20h07.
                Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

                Commentaire


                • #1
                  Maintenant que te renvoie la commande:

                  which -a python3
                  Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

                  Commentaire


                  • #1
                    /usr/local/bin/python3
                    /usr/bin/python3
                    Matériel : MacBook Pro 2016 / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 / Radeon Pro 460 4Go VRAM - Système Monterey 12.6

                    Commentaire


                    • #1
                      Envoyé par Stef_1392 Voir le message
                      /usr/local/bin/python3
                      /usr/bin/python3
                      Donc maintenant , tu as une version en /usr/local/bin/python3
                      et
                      une autre en /usr/bin/python3

                      Apparement python-3.10 n'est pas dans ton PATH!

                      que te renvoie:

                      python --version
                      Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

                      Commentaire


                      • #1
                        une version en /usr/bin/python3 : d'après ce que j'ai compris, c'est la version installée par Apple pour faire tourner Monterey => A ne pas supprimer

                        python --version ne me renvoie rien
                        python3 --version renvoie : Python 3.9.6
                        Matériel : MacBook Pro 2016 / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 / Radeon Pro 460 4Go VRAM - Système Monterey 12.6

                        Commentaire


                        • #1
                          C'est celà python 10 n'est pas dans ton PATH

                          Dans le terminal lance:



                          export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin


                          puis refait:

                          python3 --version
                          Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

                          Commentaire


                          • #1
                            Python 3.10.7

                            faudra que tu m'expliques la commande (je suis curieux)

                            et maintenant je relance ortho4xp ?
                            Matériel : MacBook Pro 2016 / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 / Radeon Pro 460 4Go VRAM - Système Monterey 12.6

                            Commentaire


                            • #1
                              Envoyé par Stef_1392 Voir le message
                              Python 3.10.7

                              faudra que tu m'expliques la commande (je suis curieux)

                              et maintenant je relance ortho4xp ?
                              Oui,
                              Eventuelement tu installes les modules qui peuvent manquer.

                              >>>>>>>>

                              export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

                              indique au sytem où trouver les binaires et librairies par ordre de priorité.
                              Gentoo Linux x86_64 RYZEN 7900X RTX2070 X-Plane12 & Hackintosh Somona (iGPU intelHD630) IntelCore i7 CPU 7700 @ 3.60GHz X-Plane 11

                              Commentaire


                              • #1
                                message en doublon
                                Dernière modification par Stef_1392, 08 octobre 2022, 20h09.
                                Matériel : MacBook Pro 2016 / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 / Radeon Pro 460 4Go VRAM - Système Monterey 12.6

                                Commentaire

                                Chargement...
                                X