Veusz import impossible de fichiers FITS [Réglé]
Meuz Membre non connecté
-
- Voir le profil du membre Meuz
- Inscrit le : 06/08/2011
- Groupes :
FITS est un format de fichiers utilisé dans le stockage de données scientifiques tel que des images ou des tableaux
Si je veux importer un fichier FITS, menu Data/Import, j'ai :

Et en console,
Code TEXT :
$ veusz VO table import: astropy module not available SAMP: sampy module not available
Or astropy est installé :
$ rpm -qa --last | grep "astropy"
python3-astropy-5.1.1-1.1.mga9.x86_64 jeu. 05 mars 2026 18:47:01
La relation astropy et FITS me semble attestée dans
Optional requirements:
Caché :
h5py (optional for HDF5 support)
http://www.h5py.org/
pyemf >= 2.0.0 (optional for EMF export)
http://pyemf.sourceforge.net/
https://github.com/jeremysanders/pyemf (Python 3 port in development)
iminuit or PyMinuit >= 1.12 (optional improved fitting)
https://github.com/iminuit/iminuit
dbus-python, for dbus interface
http://dbus.freedesktop.org/doc/dbus-python/
astropy (optional for VO table import or FITS import)
http://www.astropy.org/
SAMPy or astropy >= 0.4 (optional for SAMP support)
http://pypi.python.org/pypi/sampy/
Ghostscript (for EPS/PS output)
https://www.ghostscript.com/
http://www.h5py.org/
pyemf >= 2.0.0 (optional for EMF export)
http://pyemf.sourceforge.net/
https://github.com/jeremysanders/pyemf (Python 3 port in development)
iminuit or PyMinuit >= 1.12 (optional improved fitting)
https://github.com/iminuit/iminuit
dbus-python, for dbus interface
http://dbus.freedesktop.org/doc/dbus-python/
astropy (optional for VO table import or FITS import)
http://www.astropy.org/
SAMPy or astropy >= 0.4 (optional for SAMP support)
http://pypi.python.org/pypi/sampy/
Ghostscript (for EPS/PS output)
https://www.ghostscript.com/
Est ce un bogue ? ou bug ?
Edit. Orthographe
Édité par Meuz Le 14/04/2026 à 14h21
Meuz Membre non connecté
-
- Voir le profil du membre Meuz
- Inscrit le : 06/08/2011
- Groupes :
J'ai testé la version
astropyversion Mageia, et celle d'Anaconda.
Version Mageia :
Caché :
Code PYTHON :
Python 3.10.18 (main, Dec 8 2025, 12:59:32) [GCC 12.3.0] Type "copyright", "credits" or "license" for more information. IPython 8.10.0 -- An enhanced Interactive Python. In [1]: from astropy.utils.data import download_file Traceback (most recent call last): Cell In[1], line 1 from astropy.utils.data import download_file File /usr/lib64/python3.10/site-packages/astropy/__init__.py:41 from . import config as _config # noqa: E402 File /usr/lib64/python3.10/site-packages/astropy/config/__init__.py:10 from .configuration import * File /usr/lib64/python3.10/site-packages/astropy/config/configuration.py:23 import configobj, validate ModuleNotFoundError: No module named 'configobj' In [2]:from astropy.io import fits Traceback (most recent call last): Cell In[2], line 1 from astropy.io import fits File /usr/lib64/python3.10/site-packages/astropy/__init__.py:41 from . import config as _config # noqa: E402 File /usr/lib64/python3.10/site-packages/astropy/config/__init__.py:10 from .configuration import * File /usr/lib64/python3.10/site-packages/astropy/config/configuration.py:23 import configobj, validate ModuleNotFoundError: No module named 'configobj'
Version Anaconda :
Code PYTHON :
Aucune erreur.Python 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 15:12:24) [GCC 11.2.0] Type "copyright", "credits" or "license" for more information. IPython 8.30.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: from astropy.utils.data import download_file In [2] : from astropy.io import fits
Exemple extrait de ce tuto.
Edit url de l'exemple
Édité par Meuz Le 14/04/2026 à 17h33
Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
Est-ce que python3-configobj est installé ?
Yves
Meuz Membre non connecté
-
- Voir le profil du membre Meuz
- Inscrit le : 06/08/2011
- Groupes :
non, il ne l'était pas. C'est réglé maintenant.
👏

Y aurait-il un oubli dans les dépendances ?
Merci !
Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
Meuz :Bonjour,
non, il ne l'était pas. C'est réglé maintenant.
👏
Y aurait-il un oubli dans les dépendances ?
Merci !
Oui, il y a un oubli dans Mageia 9.
Je pousse une correction.
Yves
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie