WoeUSB-ng
WoeUSB-ng copied to clipboard
pip install fails with "error: [Errno 2] No such file or directory: '/usr/local/bin/woeusbgui'"
Good Habit Checklist for Issue Reporting
Checkout Mastering Markdown · GitHub Guides if you needs help on the GitHub-flavored Markdown syntax. You may remove sections and contents that don't apply.
- [x] I've searched the issue tracker and is pretty sure that there's no duplicate issue already filed
- [ ] I've built the latest development snapshot using the instructions in README and verified that the issue can still be reproduced (for bug reports)
Issue Reproduce Instructions
- sudo pip3 install WoeUSB-ng
Expected Behavior
Successfully installs WoeUSB.
Current Behavior
pip reports an error:
~/Downloads> sudo pip3 install WoeUSB-ng Collecting WoeUSB-ng Using cached WoeUSB-ng-0.2.12.tar.gz (164 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from WoeUSB-ng) (2.3.0) Requirement already satisfied: wxPython in /usr/lib/python3/dist-packages (from WoeUSB-ng) (4.0.7) 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 ╰─> [66 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/init.py -> build/lib/WoeUSB copying WoeUSB/list_devices.py -> build/lib/WoeUSB copying WoeUSB/miscellaneous.py -> build/lib/WoeUSB copying WoeUSB/utils.py -> build/lib/WoeUSB copying WoeUSB/core.py -> build/lib/WoeUSB copying WoeUSB/gui.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' 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.10 copying and adjusting WoeUSB/woeusb -> build/scripts-3.10 changing mode of build/scripts-3.10/woeusb from 644 to 755 /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( 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 Installing collected packages: WoeUSB-ng Running setup.py install for WoeUSB-ng ... error error: subprocess-exited-with-error
× Running setup.py install for WoeUSB-ng did not run successfully. │ exit code: 1 ╰─> [4 lines of output] running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( 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: legacy-install-failure
× Encountered error while trying to install package. ╰─> WoeUSB-ng
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Info of My Environment
WoeUSB Version
0.2.12
WoeUSB Source
pip3 repo. I did also attempt to install from source using the tip of master, which was the tag 0.2.12, with the same results.
Information about the Operating System
Ubuntu 22.04.3 LTS
Information about the Source Media
n/a
Information about the Target Device
n/a
I am getting the same issue.
Install as in the Installation from source code locally or in virtual environment section:
git clone https://github.com/WoeUSB/WoeUSB-ng.git
cd WoeUSB-ng
git apply development.patch
sudo pip3 install -e .