[Résolu] Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Modérateur : Vilains modOOs
-
Moutet
- NOOuvel adepte

- Messages : 12
- Inscription : 26 mai 2022 16:14
[Résolu] Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Bonjour,
sur le Blog de Christopher Bourez, il indique ce lien: /Applications/LibreOffice.app/Contents/MacOS/python, pour lancer python via le terminal
mais dans le dossier MacOs je n'ai pas de python.
Si quelqu'un peut m'éclairer ?
Lien du blog
https://christopher5106.github.io/offic ... acros.html
sur le Blog de Christopher Bourez, il indique ce lien: /Applications/LibreOffice.app/Contents/MacOS/python, pour lancer python via le terminal
mais dans le dossier MacOs je n'ai pas de python.
Si quelqu'un peut m'éclairer ?
Lien du blog
https://christopher5106.github.io/offic ... acros.html
Dernière modification par micmac le 02 sept. 2022 16:26, modifié 2 fois.
Raison : [Résolu] remplace Resolu
Raison : [Résolu] remplace Resolu
Libre Office 7.2.7.2
MacOs Monterey 12.5.1
MacOs Monterey 12.5.1
-
micmac
- RespOOnsable forum

- Messages : 9957
- Inscription : 28 août 2010 08:45
Re: Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Bonjour,
Dans votre signature il y a écrit : Libre Office 7.3.3.2
MacOs Monterey 12.3.1
Accès direct à votre signature pour, ensuite, la corriger.Dans le titre de votre question il y a écrit :LO 7.2.7.2 sous MACOS Monterey 12.5.1
Touche Ctrl de Windows = touche cmd⌘ sur Mac
OpenOffice > Outils > Options sur Windows = OpenOffice > Préférences sur macOS
OpenOffice > Outils > Options sur Windows = OpenOffice > Préférences sur macOS
-
tintin
- Grand Maître de l'OOffice

- Messages : 10077
- Inscription : 18 juil. 2008 15:29
- Localisation : F-Oise
Re: Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Bonjour,
Pensez à mettre à jour votre signature comme demandé.
C'est ce que vous cherchez ?
.
Pensez à mettre à jour votre signature comme demandé.
Juste pour aider, dans le LibreOffice.app > contenu du paquet > Contents > Resources, je trouve python.
C'est ce que vous cherchez ?
.
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
AOO 4.1.16 et LibO 25.2.7 / macOS Intel 13.7.8 Ventura
Adoptium-temurinJDK-jre_1.8.0_472 / Firefox/Safari/Thunderbird /Time Machine+cloneCCC
Tutoriels du forum pour macOS
Pour sauvegarder vos documents c'est ceinture ET bretelles
Adoptium-temurinJDK-jre_1.8.0_472 / Firefox/Safari/Thunderbird /Time Machine+cloneCCC
Tutoriels du forum pour macOS
Pour sauvegarder vos documents c'est ceinture ET bretelles
-
Moutet
- NOOuvel adepte

- Messages : 12
- Inscription : 26 mai 2022 16:14
Re: Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Salut,
C'est exactement çà.
J'ai pourtant chercher. Je dois être fatigué, je viens de prendre un an et à mon age !!!!
Merci
C'est exactement çà.
J'ai pourtant chercher. Je dois être fatigué, je viens de prendre un an et à mon age !!!!
Merci
Libre Office 7.2.7.2
MacOs Monterey 12.5.1
MacOs Monterey 12.5.1
-
micmac
- RespOOnsable forum

- Messages : 9957
- Inscription : 28 août 2010 08:45
Re: Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Pour clôturer le fil, éditez le titre du premier message afin d'ajouter manuellement la balise [Résolu] et cliquez sur la coche verte comme cela :
.

.
Touche Ctrl de Windows = touche cmd⌘ sur Mac
OpenOffice > Outils > Options sur Windows = OpenOffice > Préférences sur macOS
OpenOffice > Outils > Options sur Windows = OpenOffice > Préférences sur macOS
-
Jurassic Pork
- PassiOOnné

- Messages : 639
- Inscription : 09 août 2017 22:15
Re: Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Hello,
Après vérification sur mon Mac0s il semblerait que LibreOffice a un python embarqué et qu' OpenOffice non .
Ce qui me fait dire cela :
si je tape python dans un terminal j'ai la version du python 2 qui correspond à celle affichée par la console APSO d'OpenOffice.
si je tape python3 la version de python 3 ne correspond pas à celle affichée par la console APSO de LibreOffice.
A confirmer ?
[EDIT] pour plus d'infos voici où se trouve mon installation python2 :
python -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ami calmant, J.P
Après vérification sur mon Mac0s il semblerait que LibreOffice a un python embarqué et qu' OpenOffice non .
Ce qui me fait dire cela :
si je tape python dans un terminal j'ai la version du python 2 qui correspond à celle affichée par la console APSO d'OpenOffice.
si je tape python3 la version de python 3 ne correspond pas à celle affichée par la console APSO de LibreOffice.
A confirmer ?
[EDIT] pour plus d'infos voici où se trouve mon installation python2 :
python -> ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ami calmant, J.P
Dernière modification par Jurassic Pork le 02 sept. 2022 16:28, modifié 1 fois.
LibreOffice 7.6.2.1 et OpenOffice 4.1.15 sous windows 11
LibreOffice 24.2.0 et OpenOffice 4.1.15 sous Ubuntu 20.04
LibreOffice 24.2.0 et OpenOffice 4.1.15 sous Ubuntu 20.04
-
tintin
- Grand Maître de l'OOffice

- Messages : 10077
- Inscription : 18 juil. 2008 15:29
- Localisation : F-Oise
Re: Resolu Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Bonjour Jurassic Pork,
Toujours pour aider
... dans le OpenOffice.app > contenu du paquet > Contents > MacOS, je trouve du python.
C'est ça ?
.
Toujours pour aider
C'est ça ?
.
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
AOO 4.1.16 et LibO 25.2.7 / macOS Intel 13.7.8 Ventura
Adoptium-temurinJDK-jre_1.8.0_472 / Firefox/Safari/Thunderbird /Time Machine+cloneCCC
Tutoriels du forum pour macOS
Pour sauvegarder vos documents c'est ceinture ET bretelles
Adoptium-temurinJDK-jre_1.8.0_472 / Firefox/Safari/Thunderbird /Time Machine+cloneCCC
Tutoriels du forum pour macOS
Pour sauvegarder vos documents c'est ceinture ET bretelles
-
Jurassic Pork
- PassiOOnné

- Messages : 639
- Inscription : 09 août 2017 22:15
Re: [Résolu] Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Si on fait une recherche dans le contenu de OpenOffice.app on ne trouve pas un exécutable python.
Par contre dans le contenu LibreOffice.app il y a un exécutable python ( python tout seul).
Par contre dans le contenu LibreOffice.app il y a un exécutable python ( python tout seul).
LibreOffice 7.6.2.1 et OpenOffice 4.1.15 sous windows 11
LibreOffice 24.2.0 et OpenOffice 4.1.15 sous Ubuntu 20.04
LibreOffice 24.2.0 et OpenOffice 4.1.15 sous Ubuntu 20.04
-
tintin
- Grand Maître de l'OOffice

- Messages : 10077
- Inscription : 18 juil. 2008 15:29
- Localisation : F-Oise
Re: [Résolu] Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
Ah, OK.
AOO 4.1.16 et LibO 25.2.7 / macOS Intel 13.7.8 Ventura
Adoptium-temurinJDK-jre_1.8.0_472 / Firefox/Safari/Thunderbird /Time Machine+cloneCCC
Tutoriels du forum pour macOS
Pour sauvegarder vos documents c'est ceinture ET bretelles
Adoptium-temurinJDK-jre_1.8.0_472 / Firefox/Safari/Thunderbird /Time Machine+cloneCCC
Tutoriels du forum pour macOS
Pour sauvegarder vos documents c'est ceinture ET bretelles
-
Jurassic Pork
- PassiOOnné

- Messages : 639
- Inscription : 09 août 2017 22:15
Re: [Résolu] Executable Python LO 7.2.7.2 sous MACOS Monterey 12.5.1
voici la preuve que LibreOffice utilise un python embarqué :
et qu' OpenOffice utilise le python du système :APSO python console [LibreOffice]
3.8.10 (default, Jul 15 2022, 23:30:17)
[Clang 13.1.6 (clang-1316.0.21.2.5)]
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.8', '/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.8/lib-dynload', '/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.8/lib-tk', '/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.8/site-packages', '/Applications/LibreOffice.app/Contents/Resources', '/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/lib/python38.zip', '/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/lib/python3.8', '/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/lib/python3.8/lib-dynload', '/Users/user/Library/Application Support/LibreOffice/4/user/uno_packages/cache/uno_packages/lu5506zmk.tmp_/apso.oxt/python/pythonpath']
>>>
Donc à priori si il n'y a pas de python2 installé dans le système du MAC , python ne fonctionnera pas dans OpenOffice (du moins dans la version d'OpenOffice 4.1.12 que j'utilise).APSO python console [OpenOffice]
2.7.16 (default, Jun 5 2020, 22:59:21)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['/Applications/OpenOffice.app/Contents/program', '/', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Library/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', u'/Applications/OpenOffice.app/Contents/share/uno_packages/cache/uno_packages/svo8jvzw.tmp_/apso.oxt/python/pythonpath']
>>>
LibreOffice 7.6.2.1 et OpenOffice 4.1.15 sous windows 11
LibreOffice 24.2.0 et OpenOffice 4.1.15 sous Ubuntu 20.04
LibreOffice 24.2.0 et OpenOffice 4.1.15 sous Ubuntu 20.04