Librairie fann2 (python) introuvable
Librairie python fann2 introuvable et divers packages obsolètes
Logiciels / Autres logiciels

chess Membre non connecté
-
- Voir le profil du membre chess
- Inscrit le : 06/09/2012
- Groupes :
J'ai installé depuis le CCM les librairies python lib64fann2 et lib64fann-devel
Dans Python3 quand je fais import fann ou import fann2 il me dit :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'fann2'
Donc je veux vérifier le nom exact dans la liste des modules installés.
Mais si je vais dans python3 puis help() puis modules il me dit :
Please wait a moment while I gather a list of all available modules...
/usr/lib64/python3.7/pkgutil.py:107: VisibleDeprecationWarning: zmq.eventloop.minitornado is deprecated in pyzmq 14.0 and will be removed.
Install tornado itself to use zmq with the tornado IOLoop.
yield from walk_packages(path, info.name+'.', onerror)
/usr/lib/python3.7/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated since IPython 4.0.You should import from ipykernel or jupyter_client instead.
"You should import from ipykernel or jupyter_client instead.", ShimWarning)
/usr/lib/python3.7/site-packages/sphinx/websupport/__init__.py:25: RemovedInSphinx20Warning: sphinx.websupport module is now provided as sphinxcontrib-websupport. sphinx.websupport will be removed at Sphinx-2.0. Please use the package instead.
RemovedInSphinx20Warning)
QPixmap: Must construct a QGuiApplication before a QPixmap
Abandon (core dumped)
Il me dit qu'il y a un package "IPython.kernel obsolète" depuis IPython 4.0.
Et divers autres problèmes identiques sur une autre installation Mageia 7.
Il y a-t-il un lien avec le fait que je n'arrive pas à utiliser la librairie python fann2 ?
SI non merci de votre aide.
Ce n'est pas parce que Windows est "payant" que ça marche mieux et qu'on fait une bonne affaire en le piratant.

Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
Code TEXT :
urpmq -y fann lib64fann-devel lib64fann2 pip search fann fann2 (1.1.2) - Fast Artificial Neural Network Library (FANN) Python bindings.
La bibliothèque fann2 en python n'est pas disponible dans Mageia 7. Mais tu peux l'installer avec pip (ou pip3).
Les autres avertissements ne me semblent pas gênants.
Par contre, le core dump est surprenant, surtout dans une application en mode texte. Je ne l'ai pas.
Yves

chess Membre non connecté
-
- Voir le profil du membre chess
- Inscrit le : 06/09/2012
- Groupes :
C'était tout bête en fait.
Merci.
Ce n'est pas parce que Windows est "payant" que ça marche mieux et qu'on fait une bonne affaire en le piratant.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie