Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/05/2023, à 09:30

Lifesaver

[RESOLU] Problème installation planetary-system-stacker

Yo !
Je tente l'installation du soft planetary-system-stacker. Il est dans les dépôts, no soucy. https://packages.ubuntu.com/jammy/scien … em-stacker
Cependant, après l'installation, impossible de le lancer :

~$ planetary-system-stacker
planetary-system-stacker : commande introuvable

J'ai tenter de taper plutôt PSS ou planetarysystemstacker, sans succès, et même réponse.
Vous avez une idée ?
Merci !

Dernière modification par Lifesaver (Le 16/05/2023, à 22:02)


Debian Stable

Hors ligne

#2 Le 14/05/2023, à 12:01

lann

Re : [RESOLU] Problème installation planetary-system-stacker

et

PlanetarySystemStacker

<Modéré>

Hors ligne

#3 Le 14/05/2023, à 12:30

Compte supprimé

Re : [RESOLU] Problème installation planetary-system-stacker

Alors j'ai testé sur une 23.04 et c'est pareil.

toto@toto-VirtualBox:~$ PlanetarySystemStacker
Traceback (most recent call last):
  File "/usr/bin/PlanetarySystemStacker", line 33, in <module>
    sys.exit(load_entry_point('planetary-system-stacker==0.9.3', 'console_scripts', 'PlanetarySystemStacker')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/PlanetarySystemStacker", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/planetary_system_stacker.py", line 64, in <module>
    from workflow import Workflow
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/workflow.py", line 40, in <module>
    from stack_frames import StackFrames
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/stack_frames.py", line 33, in <module>
    from numpy import int as np_int
ImportError: cannot import name 'int' from 'numpy' (/usr/lib/python3/dist-packages/numpy/__init__.py)
toto@toto-VirtualBox:~$

On dirait bien qu'il faut ajouter quelques modules python.

Dernière modification par Compte supprimé (Le 14/05/2023, à 12:44)

#4 Le 14/05/2023, à 13:33

lann

Re : [RESOLU] Problème installation planetary-system-stacker

Je pense qu'il faudrait faire un rapport de bug sur github : https://github.com/Rolf-Hempel/Planetar … ker/issues


<Modéré>

Hors ligne

#5 Le 14/05/2023, à 14:49

Lifesaver

Re : [RESOLU] Problème installation planetary-system-stacker

Tamarou a écrit :

Alors j'ai testé sur une 23.04 et c'est pareil.

toto@toto-VirtualBox:~$ PlanetarySystemStacker
Traceback (most recent call last):
  File "/usr/bin/PlanetarySystemStacker", line 33, in <module>
    sys.exit(load_entry_point('planetary-system-stacker==0.9.3', 'console_scripts', 'PlanetarySystemStacker')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/PlanetarySystemStacker", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/planetary_system_stacker.py", line 64, in <module>
    from workflow import Workflow
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/workflow.py", line 40, in <module>
    from stack_frames import StackFrames
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/stack_frames.py", line 33, in <module>
    from numpy import int as np_int
ImportError: cannot import name 'int' from 'numpy' (/usr/lib/python3/dist-packages/numpy/__init__.py)
toto@toto-VirtualBox:~$

On dirait bien qu'il faut ajouter quelques modules python.

Ce qui est curieux, c'est que je suis allé sur le site officiel pour tester les modules python dépendants, et il semblait que j'avais tout... Pour autant, oui, on dirait bien que le problème vient de là...


Debian Stable

Hors ligne

#6 Le 14/05/2023, à 14:50

Lifesaver

Re : [RESOLU] Problème installation planetary-system-stacker

lann a écrit :

Je pense qu'il faudrait faire un rapport de bug sur github : https://github.com/Rolf-Hempel/Planetar … ker/issues

yep, je vais tenter de faire un rapport de bug.
C'est fit wink
https://github.com/Rolf-Hempel/Planetar … /issues/66

Dernière modification par Lifesaver (Le 14/05/2023, à 16:01)


Debian Stable

Hors ligne

#7 Le 16/05/2023, à 15:36

Lifesaver

Re : [RESOLU] Problème installation planetary-system-stacker

0 réponse...


Debian Stable

Hors ligne

#8 Le 16/05/2023, à 15:44

lann

Re : [RESOLU] Problème installation planetary-system-stacker

Il faudrait que tu fournisses le retour du post 3 :

'est pareil.

toto@toto-VirtualBox:~$ PlanetarySystemStacker
Traceback (most recent call last):
  File "/usr/bin/PlanetarySystemStacker", line 33, in <module>
    sys.exit(load_entry_point('planetary-system-stacker==0.9.3', 'console_scripts', 'PlanetarySystemStacker')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/PlanetarySystemStacker", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/planetary_system_stacker.py", line 64, in <module>
    from workflow import Workflow
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/workflow.py", line 40, in <module>
    from stack_frames import StackFrames
  File "/usr/lib/python3/dist-packages/planetary_system_stacker/stack_frames.py", line 33, in <module>
    from numpy import int as np_int
ImportError: cannot import name 'int' from 'numpy' (/usr/lib/python3/dist-packages/numpy/__init__.py)  

<Modéré>

Hors ligne

#9 Le 16/05/2023, à 16:54

Lifesaver

Re : [RESOLU] Problème installation planetary-system-stacker

Y'a du mieux, puisque je connais désormais la lugne de commande qui va bien pour appeler le logiciel !
Bon, y'a toujours un problème quand même, et ça vient bien de python

$ PlanetarySystemStacker
/home/youyoubpt/.local/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
QObject::moveToThread: Current thread (0x55b5fe8e1770) is not the object's thread (0x55b5ffe2fc80).
Cannot move to target thread (0x55b5fe8e1770)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/youyoubpt/.local/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx.

Abandon (core dumped)

Debian Stable

Hors ligne

#10 Le 16/05/2023, à 18:57

lann

Re : [RESOLU] Problème installation planetary-system-stacker

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/youyoubpt/.local/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

l'explication de ton problème.
Il faudrait réinstaller PlanetarySystemStacker


<Modéré>

Hors ligne

#11 Le 16/05/2023, à 19:08

lann

Re : [RESOLU] Problème installation planetary-system-stacker

Un post qui parle du problème : https://forum.qt.io/topic/127696/qt-qpa … 20?lang=fr
Il parle d'installer Qt5


<Modéré>

Hors ligne

#12 Le 16/05/2023, à 19:30

Lifesaver

Re : [RESOLU] Problème installation planetary-system-stacker

lann a écrit :
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/youyoubpt/.local/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

l'explication de ton problème.
Il faudrait réinstaller PlanetarySystemStacker

La réinstallation n'y change rien.


Debian Stable

Hors ligne

#13 Le 16/05/2023, à 19:30

Lifesaver

Re : [RESOLU] Problème installation planetary-system-stacker

lann a écrit :

Un post qui parle du problème : https://forum.qt.io/topic/127696/qt-qpa … 20?lang=fr
Il parle d'installer Qt5

Là, je sèche total !!! wink


Debian Stable

Hors ligne

#14 Le 16/05/2023, à 19:54

Compte supprimé

Re : [RESOLU] Problème installation planetary-system-stacker

https://www.cloudynights.com/topic/7533 … p=11363130
la liste des dépendances.

D'autre part, peut-être que Stellarium dépannerait.

Dernière modification par Compte supprimé (Le 16/05/2023, à 19:55)

#15 Le 16/05/2023, à 22:02

Lifesaver

Re : [RESOLU] Problème installation planetary-system-stacker

lann a écrit :
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/youyoubpt/.local/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

l'explication de ton problème.
Il faudrait réinstaller PlanetarySystemStacker

Ceci a résolu mon problème :

pip uninstall opencv-python
pip install opencv-python-headless

Merci wink


Debian Stable

Hors ligne