Skip to content

Linux MINT 22 does not install woeusb-ng #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jamesnasa opened this issue Jul 17, 2024 · 13 comments · May be fixed by #129
Open

Linux MINT 22 does not install woeusb-ng #120

jamesnasa opened this issue Jul 17, 2024 · 13 comments · May be fixed by #129

Comments

@jamesnasa
Copy link

jamesnasa commented Jul 17, 2024

I tried to install woeusb-ng on the Linux Mint 22 distribution but the externally-managed-enviroment error appears as shown in the following photo. Is there a step by step solution?

thank you
Erro-linux mint-22

@nguyendangkin
Copy link

nguyendangkin commented Jul 26, 2024

I also have the same problem but don't know how to fix it. I used the .deb (2022-01-07 05:53) package, and it works. WoeUSB-ng_v0.2.10.deb

@jamesnasa
Copy link
Author

jamesnasa commented Jul 29, 2024

Eu também tenho o mesmo problema, mas não sei como consertar. Usei o pacote .deb (2022-01-07 05:53) e funciona. WoeUSB-ng_v0.2.10.deb

instalei e nao funciona, qual o link para baixar

@nguyendangkin
Copy link

nguyendangkin commented Jul 30, 2024

Eu também tenho o mesmo problema, mas não sei como consertar. Usei o pacote .deb (2022-01-07 05:53) e funciona. WoeUSB-ng_v0.2.10.deb

instalei e nao funciona, qual o link para baixar

https://osdn.net/projects/woeusb-ng/
https://osdn.net/projects/woeusb-ng/downloads/76517/WoeUSB-ng_v0.2.10.deb/
(edit: if the above link is dead, use this link: https://mirrors.dotsrc.org/osdn/woeusb-ng/76517/)

sudo dpkg -i WoeUSB-ng_v0.2.10.deb (if gives error)
Run:
sudo apt update
sudo apt install python3-wxgtk4.0 (error?)
Use this command if it gives error:
sudo apt --fix-broken install

And run again:
sudo apt update
sudo apt upgrade
sudo apt install python3-wxgtk4.0
sudo dpkg -i WoeUSB-ng_v0.2.10.deb

I don't see it creating an icon in the menu for the app; but when it installs successfully it automatically launches the app and I use it.

I use ZorinOs 16.3 baseon ubuntu 22.04. I back to win11.

@absmith82
Copy link

The issue is that Python now will not let you install via pip without using venv or virtualenv any longer.

you have to use
python3 -m venv WoeUSB
or equivalent and then
source WoeUSB/bin/activate
from there you can either install via source or pip3 install WoeUSB-ng

Also the directions seem to forget to tell you for wxPython you have to install libgtk-3-dev or your distro equivalent

@jamesnasa
Copy link
Author

jamesnasa commented Aug 24, 2024

**nguyendangkin ** c

funcionou perfeitamente, sua dica foi ótima muito obrigado. O problema era que instalava mas não apresentava o ícone na área de trabalho foi só criar o ícone e resolveu tudo igual você mencionou

@jamesnasa
Copy link
Author

O problema é que agora o Python não permite mais a instalação via pip sem usar venv ou virtualenv.

você tem que usar python3 -m venv WoeUSB ou equivalente e então source WoeUSB/bin/activate a partir daí você pode instalar via fonte ou pip3 instalar WoeUSB-ng

Além disso, as instruções parecem esquecer de informar que para o wxPython você precisa instalar o libgtk-3-dev ou o equivalente de sua distribuição.

o nosso colega nguyendangkin mandou uma solução que resolveu agradeço a sua informação

@BombFoolGranny BombFoolGranny linked a pull request Jan 2, 2025 that will close this issue
@TheBitcoinBaron
Copy link

So in simple terms this is not possible on linux mint? If it is someone paste the exact commands to be used plz

@JonnyTech
Copy link

Try this:

sudo apt update
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin parted dosfstools ntfs-3g pipx libgtk2.0-dev libgtk-3-dev
sudo pipx install WoeUSB-ng
woeusbgui

@HumbleDeer
Copy link

HumbleDeer commented Feb 21, 2025

And if you keep having issues with wxPython not compiling, get the wheel off of their own server and install it into your home folder somewhere. Then, pass pipx some extra arguments: --pip-args="--only-binary=wxpython --find-links=/path/to/wheelfile"

That'll force Pip to only use pre-compiled wheel binaries, and since it can't find any wheels for wxPython on PyPi, it'll look in the /path/to/wheelfile location for a source. It'll then use that precompiled binary.

You can also forego the complexity here by just making a simple python venv, installing the wheel binary first with pip install wheelbinary.whl (from within the venv), and then do the same woeusb-ng.

If you find any errors relating to permissions denied on the /usr/bin folders and alike, take ownership of them or change them to a directory that's actually in your user's control.

don't run pip with sudo.

Find your wheels here, but take care to pick the one for your version of python. Ubuntu 24.x is the correct base for LM 22.x: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04/

@gravit22
Copy link

The issue is that Python now will not let you install via pip without using venv or virtualenv any longer.

you have to use python3 -m venv WoeUSB or equivalent and then source WoeUSB/bin/activate from there you can either install via source or pip3 install WoeUSB-ng

Also the directions seem to forget to tell you for wxPython you have to install libgtk-3-dev or your distro equivalent

Unfortunately it doesn't work on my PC, when I try to install with pip3 after those commands, I got permission error

@HumbleDeer
Copy link

Unfortunately it doesn't work on my PC, when I try to install with pip3 after those commands, I got permission error
Please elaborate and/or post the actual error and the context.

@Theinventor777
Copy link

If you find any errors relating to permissions denied on the /usr/bin folders and alike, take ownership of them or change them to a directory that's actually in your user's control.

Had a similar permission error when installing with your method, here is the full output with the error:

(WoeUSB) hayden@HaydenPC:~$ pip3 install WoeUSB-ng --only-binary=wxpython --find-links=/home/hayden/wxpython-4.2.3-cp313-cp313-linux_x86_64.whl
Looking in links: /home/hayden/wxpython-4.2.3-cp313-cp313-linux_x86_64.whl
Collecting WoeUSB-ng
  Using cached WoeUSB-ng-0.2.12.tar.gz (164 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting termcolor (from WoeUSB-ng)
  Using cached termcolor-3.0.1-py3-none-any.whl.metadata (6.1 kB)
Requirement already satisfied: wxPython in ./WoeUSB/lib/python3.12/site-packages (from WoeUSB-ng) (4.2.3)
Using cached termcolor-3.0.1-py3-none-any.whl (7.2 kB)
Building wheels for collected packages: WoeUSB-ng
  Building wheel for WoeUSB-ng (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for WoeUSB-ng (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [424 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib/WoeUSB
      copying WoeUSB/__init__.py -> build/lib/WoeUSB
      copying WoeUSB/gui.py -> build/lib/WoeUSB
      copying WoeUSB/core.py -> build/lib/WoeUSB
      copying WoeUSB/list_devices.py -> build/lib/WoeUSB
      copying WoeUSB/miscellaneous.py -> build/lib/WoeUSB
      copying WoeUSB/workaround.py -> build/lib/WoeUSB
      copying WoeUSB/utils.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'
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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)
      /tmp/pip-build-env-9t6uhg7z/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _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/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/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/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/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/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/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/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 664 to 775
      installing to build/bdist.linux-x86_64/wheel
      running install
      error: [Errno 13] Permission denied: '/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
Failed to build WoeUSB-ng
ERROR: Could not build wheels for WoeUSB-ng, which is required to install pyproject.toml-based projects

@sergeantmumm
Copy link

sergeantmumm commented Apr 19, 2025

Suffering from the same error list as @Theinventor777.
Anyone got a serious hint/clue?
The error messages indicate that the setuptools configuration is missing explicit inclusions for packages like WoeUSB.data, WoeUSB.locale, and its subdirectories. This leads to warnings that these packages will be ignored, and ultimately causes the build process to fail.

It seems that newer versions of setuptools are stricter about this configuration, while older versions might have been more tolerant.
[Linux Mint 22 Cinnamon]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants