Annonce

Réduire
Aucune annonce.

Problème d’installation d’Ortho4XP sous Mac os

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

  • Problème d’installation d’Ortho4XP sous Mac os

    Bonjour à tous.

    J'ai ce problème lors de l'installation de Ortho4XP sur Mac OS High Sierra.

    J'ai suivi les directives d’Oscar le pilote du fichier Install_instructions.txt et lorsque j'exécute ./install_mac.sh j'ai ce problème.

    Pouvez-vous m'aider.

    Merci grandement.

    Code:
    iMac:Ortho4XP-master mac5$ ./install_mac.sh 
    Updating Homebrew...
    ==> Auto-updated Homebrew!
    Updated 1 tap (homebrew/core).
    ==> Updated Formulae
    ack             assimp          conan           libtensorflow   terragrunt
    ammonite-repl   bitrise         exploitdb       serverless
    
    Error: The following directories are not writable by your user:
    /usr/local/share/man/man7
    /usr/local/share/man/man8
    
    You should change the ownership of these directories to your user.
      sudo chown -R $(whoami) /usr/local/share/man/man7 /usr/local/share/man/man8
    
    And make sure that your user has write permission.
      chmod u+w /usr/local/share/man/man7 /usr/local/share/man/man8
    Requirement already satisfied: cython in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (0.29.14)
    WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    Collecting git+https://github.com/jswhit/pyproj.git
      Cloning https://github.com/jswhit/pyproj.git to /private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-req-build-r60yjdug
      Running command git clone -q https://github.com/jswhit/pyproj.git /private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-req-build-r60yjdug
      Installing build dependencies ... done
      Getting requirements to build wheel ... error
      ERROR: Command errored out with exit status 1:
       command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/tmpd_x0dahi
           cwd: /private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-req-build-r60yjdug
      Complete output (1 lines):
      proj executable not found. Please set the PROJ_DIR variable.For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
      ----------------------------------------
    ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/tmpd_x0dahi Check the logs for full command output.
    WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (1.18.1)
    Collecting shapely
      Using cached https://files.pythonhosted.org/packages/a2/fb/7a7af9ef7a35d16fa23b127abee272cfc483ca89029b73e92e93cdf36e6b/Shapely-1.6.4.post2.tar.gz
        ERROR: Command errored out with exit status 1:
         command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-install-7f00he9_/shapely/setup.py'"'"'; __file__='"'"'/private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-install-7f00he9_/shapely/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
             cwd: /private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-install-7f00he9_/shapely/
        Complete output (11 lines):
        Failed `CDLL(/Library/Frameworks/GEOS.framework/Versions/Current/GEOS)`
        Failed `CDLL(/opt/local/lib/libgeos_c.dylib)`
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-install-7f00he9_/shapely/setup.py", line 80, in <module>
            from shapely._buildcfg import geos_version_string, geos_version, \
          File "/private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-install-7f00he9_/shapely/shapely/_buildcfg.py", line 185, in <module>
            lgeos = load_dll('geos_c', fallbacks=alt_paths)
          File "/private/var/folders/pn/4hxs6lqn3zv5fytngh79tvr40000gn/T/pip-install-7f00he9_/shapely/shapely/_buildcfg.py", line 159, in load_dll
            raise OSError(
        OSError: Could not find library geos_c or load any of its variants ['/Library/Frameworks/GEOS.framework/Versions/Current/GEOS', '/opt/local/lib/libgeos_c.dylib']
        ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    iMac:Ortho4XP-master mac5$
    Intel Core i7-4790K 4.0GHz - ASRock Z97 EXTREME6 - 32GB Memory - Samsung 850 Pro SSD 512GB
    Western Digital Caviar Blue 1TB - EVGA GeForce GTX 1080 8GB - Asus BW-12B1ST Blu-Ray/DVD/CD
    3 Moniteurs Asus 24.0"

    Mac os x 10.13.

    Bonne journée et bon vol à tous

    Louis

  • #2
    Etrange j'ai fai un très long post explicite en réponse et il a disparu !
    Win-daube 7 de chez Microsoft qui peut 64bits(pour x-plane),
    Proc/I5 2320 à 3ghz, 16G ram, GeForce GT 1050 TI avec 4G Vram,
    Ecrans calibrés pour retouche photo et vidéo 27" UHD, ou 40" 1080p,
    Throtle x52"pro", + airbus quadran avec addon, + twcs, et un X56 throtle qui arrive.
    Joystick, le magnifique VKB gladiator increvable.

    Commentaire


    • #3
      Envoyé par omega003 Voir le message
      Etrange j'ai fai un très long post explicite en réponse et il a disparu !
      Il est ici: https://www.x-plane.fr/showthread.php?t=55404

      J'ai fait ce que tu m'a dis:
      • sudo chown -R $(whoami) /usr/local/share/man/man7 /usr/local/share/man/man8
      • chmod u+w /usr/local/share/man/man7 /usr/local/share/man/man8





      Merci... ça marche.... Super

      Amicalement. Louis
      Dernière modification par coussini, 15 janvier 2020, 15h57.
      Intel Core i7-4790K 4.0GHz - ASRock Z97 EXTREME6 - 32GB Memory - Samsung 850 Pro SSD 512GB
      Western Digital Caviar Blue 1TB - EVGA GeForce GTX 1080 8GB - Asus BW-12B1ST Blu-Ray/DVD/CD
      3 Moniteurs Asus 24.0"

      Mac os x 10.13.

      Bonne journée et bon vol à tous

      Louis

      Commentaire


      • #4
        Cool, content pour toi ;-)
        Win-daube 7 de chez Microsoft qui peut 64bits(pour x-plane),
        Proc/I5 2320 à 3ghz, 16G ram, GeForce GT 1050 TI avec 4G Vram,
        Ecrans calibrés pour retouche photo et vidéo 27" UHD, ou 40" 1080p,
        Throtle x52"pro", + airbus quadran avec addon, + twcs, et un X56 throtle qui arrive.
        Joystick, le magnifique VKB gladiator increvable.

        Commentaire


        • #5
          S"V"P" Aidez moi.... j'ai encore des problème sur MAC OS X et l'exécution de Ortho4XP_V130.py


          En faisant cela j'ai

          Code:
          iMac:Ortho4XP-master mac5$ pip3 list
          Package    Version    
          ---------- -----------
          certifi    2019.11.28 
          chardet    3.0.4      
          Cython     0.29.15    
          GDAL       2.4.2      
          idna       2.8        
          numpy      1.18.1     
          Pillow     7.0.0      
          pip        19.2.3     
          pyproj     2.4.2.post1
          requests   2.22.0     
          Rtree      0.8.3      
          setuptools 41.2.0     
          Shapely    1.6.4.post2
          urllib3    1.25.8     
          wheel      0.34.2
          Ensuite j'ai fait:

          Code:
          iMac:Ortho4XP-master mac5$ python3 Ortho4XP_v130.py
          /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyproj/crs/crs.py:55: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method.
            return _prepare_from_string(" ".join(pjargs))
          /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyproj/crs/crs.py:55: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method.
            return _prepare_from_string(" ".join(pjargs))
          Traceback (most recent call last):
            File "Ortho4XP_v130.py", line 9, in <module>
              import O4_Imagery_Utils as IMG
            File "./src/O4_Imagery_Utils.py", line 28, in <module>
              import O4_Vector_Utils as VECT
            File "./src/O4_Vector_Utils.py", line 3, in <module>
              from shapely import geometry, affinity
            File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/shapely/geometry/__init__.py", line 4, in <module>
              from .base import CAP_STYLE, JOIN_STYLE
            File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/shapely/geometry/base.py", line 17, in <module>
              from shapely.coords import CoordinateSequence
            File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/shapely/coords.py", line 8, in <module>
              from shapely.geos import lgeos
            File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/shapely/geos.py", line 111, in <module>
              _lgeos = load_dll('geos_c', fallbacks=alt_paths)
            File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/shapely/geos.py", line 54, in load_dll
              raise OSError(
          OSError: Could not find lib geos_c or load any of its variants ['/Library/Frameworks/Python.framework/Versions/3.8/lib/libgeos_c.dylib', '/Library/Frameworks/GEOS.framework/Versions/Current/GEOS', '/opt/local/lib/libgeos_c.dylib'].
          iMac:Ortho4XP-master mac5$
          EN PLUS, IMPOSSIBLE D'INSTALLER LA DERNIÈRE VERSION DE Rtree, je suis obliger de forceer l'installation avec cette commande:

          pip3 install "rtree==0.8.3"


          Je ne comprend plus rien...
          Intel Core i7-4790K 4.0GHz - ASRock Z97 EXTREME6 - 32GB Memory - Samsung 850 Pro SSD 512GB
          Western Digital Caviar Blue 1TB - EVGA GeForce GTX 1080 8GB - Asus BW-12B1ST Blu-Ray/DVD/CD
          3 Moniteurs Asus 24.0"

          Mac os x 10.13.

          Bonne journée et bon vol à tous

          Louis

          Commentaire


          • #6
            J'AI RÉSOLU MON PROBLÈME... VOICI COMMENT J'AI FAIT:

            Hello Mac fans. Here is my guide to help you install Ortho4xp on your Mac. For some reason the original post (September 2017) was lost, but a very kind fellow simmer had a copy and was generous enough to share it with me. A BIG THANK YOU to Skywatch_ti! Also, a BIG THANK YOU to Old Blue Nose and ...
            Intel Core i7-4790K 4.0GHz - ASRock Z97 EXTREME6 - 32GB Memory - Samsung 850 Pro SSD 512GB
            Western Digital Caviar Blue 1TB - EVGA GeForce GTX 1080 8GB - Asus BW-12B1ST Blu-Ray/DVD/CD
            3 Moniteurs Asus 24.0"

            Mac os x 10.13.

            Bonne journée et bon vol à tous

            Louis

            Commentaire

            Chargement...
            X