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 06/12/2024, à 09:51

JPB09

Installation du logiciel WoeUSB-ng

Bonjour,
Je n'arrive pas à installer le logiciel en suivant les procédures du tuto.
Voici les erreurs constatées

$ sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin wimtools
[sudo] Mot de passe de jp-boulanger : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
git est déjà la version la plus récente (1:2.43.0-1ubuntu7.1).
p7zip-full est déjà la version la plus récente (16.02+transitional.1).
python3-pip est déjà la version la plus récente (24.0+dfsg-1ubuntu1.1).
python3-wxgtk4.0 est déjà la version la plus récente (4.2.1+dfsg-3build2).
grub2-common est déjà la version la plus récente (2.12-1ubuntu7).
grub-pc-bin est déjà la version la plus récente (2.12-1ubuntu7).
wimtools est déjà la version la plus récente (1.14.4-1.1build2).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libcommon-sense-perl libjson-perl libjson-xs-perl libtext-csv-perl
  libtext-csv-xs-perl libtypes-serialiser-perl
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 9 non mis à jour.
jp-boulanger@jp-boulanger-ASUS-Vivo-AIO-V222GAR-V222GA:~$ sudo pip3 install WoeUSB-ng
Collecting WoeUSB-ng
  Using cached WoeUSB-ng-0.2.12.tar.gz (164 kB)
  Preparing metadata (setup.py) ... done
Collecting termcolor (from WoeUSB-ng)
  Using cached termcolor-2.5.0-py3-none-any.whl.metadata (6.1 kB)
Requirement already satisfied: wxPython in /usr/lib/python3/dist-packages (from WoeUSB-ng) (4.2.1)
Using cached termcolor-2.5.0-py3-none-any.whl (7.8 kB)
Building wheels for collected packages: WoeUSB-ng
  Building wheel for WoeUSB-ng (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [446 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib
      creating build/lib/WoeUSB
      copying WoeUSB/workaround.py -> build/lib/WoeUSB
      copying WoeUSB/gui.py -> build/lib/WoeUSB
      copying WoeUSB/core.py -> build/lib/WoeUSB
      copying WoeUSB/__init__.py -> build/lib/WoeUSB
      copying WoeUSB/utils.py -> build/lib/WoeUSB
      copying WoeUSB/list_devices.py -> build/lib/WoeUSB
      copying WoeUSB/miscellaneous.py -> build/lib/WoeUSB
      running egg_info
      writing WoeUSB_ng.egg-info/PKG-INFO
      writing dependency_links to WoeUSB_ng.egg-info/dependency_links.txt
      writing requirements to WoeUSB_ng.egg-info/requires.txt
      writing top-level names to WoeUSB_ng.egg-info/top_level.txt
      reading manifest file 'WoeUSB_ng.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'WoeUSB_ng.egg-info/SOURCES.txt'
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.data' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.data' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.data' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.data' to be distributed and are
              already explicitly excluding 'WoeUSB.data' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale' to be distributed and are
              already explicitly excluding 'WoeUSB.locale' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale.de.LC_MESSAGES' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale.de.LC_MESSAGES' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale.de.LC_MESSAGES' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale.de.LC_MESSAGES' to be distributed and are
              already explicitly excluding 'WoeUSB.locale.de.LC_MESSAGES' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale.fr.LC_MESSAGES' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale.fr.LC_MESSAGES' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale.fr.LC_MESSAGES' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale.fr.LC_MESSAGES' to be distributed and are
              already explicitly excluding 'WoeUSB.locale.fr.LC_MESSAGES' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale.pl.LC_MESSAGES' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale.pl.LC_MESSAGES' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale.pl.LC_MESSAGES' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale.pl.LC_MESSAGES' to be distributed and are
              already explicitly excluding 'WoeUSB.locale.pl.LC_MESSAGES' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale.pt_BR.LC_MESSAGES' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale.pt_BR.LC_MESSAGES' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale.pt_BR.LC_MESSAGES' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale.pt_BR.LC_MESSAGES' to be distributed and are
              already explicitly excluding 'WoeUSB.locale.pt_BR.LC_MESSAGES' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale.sv.LC_MESSAGES' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale.sv.LC_MESSAGES' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale.sv.LC_MESSAGES' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale.sv.LC_MESSAGES' to be distributed and are
              already explicitly excluding 'WoeUSB.locale.sv.LC_MESSAGES' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale.tr.LC_MESSAGES' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale.tr.LC_MESSAGES' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale.tr.LC_MESSAGES' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale.tr.LC_MESSAGES' to be distributed and are
              already explicitly excluding 'WoeUSB.locale.tr.LC_MESSAGES' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'WoeUSB.locale.zh.LC_MESSAGES' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'WoeUSB.locale.zh.LC_MESSAGES' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'WoeUSB.locale.zh.LC_MESSAGES' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'WoeUSB.locale.zh.LC_MESSAGES' to be distributed and are
              already explicitly excluding 'WoeUSB.locale.zh.LC_MESSAGES' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      copying WoeUSB/woeusb -> build/lib/WoeUSB
      copying WoeUSB/woeusbgui -> build/lib/WoeUSB
      creating build/lib/WoeUSB/data
      copying WoeUSB/data/c501-logo.png -> build/lib/WoeUSB/data
      copying WoeUSB/data/icon.ico -> build/lib/WoeUSB/data
      copying WoeUSB/data/woeusb-logo.png -> build/lib/WoeUSB/data
      creating build/lib/WoeUSB/locale
      copying WoeUSB/locale/woeusb.pot -> build/lib/WoeUSB/locale
      creating build/lib/WoeUSB/locale/de
      creating build/lib/WoeUSB/locale/de/LC_MESSAGES
      copying WoeUSB/locale/de/LC_MESSAGES/woeusb.mo -> build/lib/WoeUSB/locale/de/LC_MESSAGES
      copying WoeUSB/locale/de/LC_MESSAGES/woeusb.po -> build/lib/WoeUSB/locale/de/LC_MESSAGES
      creating build/lib/WoeUSB/locale/fr
      creating build/lib/WoeUSB/locale/fr/LC_MESSAGES
      copying WoeUSB/locale/fr/LC_MESSAGES/woeusb.mo -> build/lib/WoeUSB/locale/fr/LC_MESSAGES
      copying WoeUSB/locale/fr/LC_MESSAGES/woeusb.po -> build/lib/WoeUSB/locale/fr/LC_MESSAGES
      creating build/lib/WoeUSB/locale/pl
      creating build/lib/WoeUSB/locale/pl/LC_MESSAGES
      copying WoeUSB/locale/pl/LC_MESSAGES/woeusb.mo -> build/lib/WoeUSB/locale/pl/LC_MESSAGES
      copying WoeUSB/locale/pl/LC_MESSAGES/woeusb.po -> build/lib/WoeUSB/locale/pl/LC_MESSAGES
      creating build/lib/WoeUSB/locale/pt_BR
      creating build/lib/WoeUSB/locale/pt_BR/LC_MESSAGES
      copying WoeUSB/locale/pt_BR/LC_MESSAGES/woeusb.mo -> build/lib/WoeUSB/locale/pt_BR/LC_MESSAGES
      copying WoeUSB/locale/pt_BR/LC_MESSAGES/woeusb.po -> build/lib/WoeUSB/locale/pt_BR/LC_MESSAGES
      creating build/lib/WoeUSB/locale/sv
      creating build/lib/WoeUSB/locale/sv/LC_MESSAGES
      copying WoeUSB/locale/sv/LC_MESSAGES/woeusb.mo -> build/lib/WoeUSB/locale/sv/LC_MESSAGES
      copying WoeUSB/locale/sv/LC_MESSAGES/woeusb.po -> build/lib/WoeUSB/locale/sv/LC_MESSAGES
      creating build/lib/WoeUSB/locale/tr
      creating build/lib/WoeUSB/locale/tr/LC_MESSAGES
      copying WoeUSB/locale/tr/LC_MESSAGES/woeusb.mo -> build/lib/WoeUSB/locale/tr/LC_MESSAGES
      copying WoeUSB/locale/tr/LC_MESSAGES/woeusb.po -> build/lib/WoeUSB/locale/tr/LC_MESSAGES
      creating build/lib/WoeUSB/locale/zh
      creating build/lib/WoeUSB/locale/zh/LC_MESSAGES
      copying WoeUSB/locale/zh/LC_MESSAGES/woeusb.mo -> build/lib/WoeUSB/locale/zh/LC_MESSAGES
      copying WoeUSB/locale/zh/LC_MESSAGES/woeusb.po -> build/lib/WoeUSB/locale/zh/LC_MESSAGES
      running build_scripts
      creating build/scripts-3.12
      copying and adjusting WoeUSB/woeusb -> build/scripts-3.12
      changing mode of build/scripts-3.12/woeusb from 644 to 755
      /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
      !!
      
              ********************************************************************************
              Please avoid running ``setup.py`` directly.
              Instead, use pypa/build, pypa/installer or other
              standards-based tools.
      
              See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
              ********************************************************************************
      
      !!
        self.initialize_options()
      installing to build/bdist.linux-x86_64/wheel
      running install
      error: [Errno 2] No such file or directory: '/usr/local/bin/woeusbgui'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for WoeUSB-ng
  Running setup.py clean for WoeUSB-ng
Failed to build WoeUSB-ng

Hors ligne