Skip to content

Error while install pip3 dependencies #144

@kedargh

Description

@kedargh
`$ cd WoeUSB-ng/
kedar@wrangler:~/WoeUSB-ng$ sudo pip3 install .
[sudo] password for kedar: 
Processing /home/kedar/WoeUSB-ng
  Preparing metadata (setup.py) ... done
Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from WoeUSB-ng==0.2.12) (3.1.0)
Requirement already satisfied: wxPython in /usr/lib/python3/dist-packages (from WoeUSB-ng==0.2.12) (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
  ╰─> [69 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib
      creating build/lib/WoeUSB
      copying WoeUSB/gui.py -> build/lib/WoeUSB
      copying WoeUSB/workaround.py -> build/lib/WoeUSB
      copying WoeUSB/miscellaneous.py -> build/lib/WoeUSB
      copying WoeUSB/list_devices.py -> build/lib/WoeUSB
      copying WoeUSB/core.py -> build/lib/WoeUSB
      copying WoeUSB/utils.py -> build/lib/WoeUSB
      copying WoeUSB/__init__.py -> build/lib/WoeUSB
      running egg_info
      creating WoeUSB_ng.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
      writing manifest file 'WoeUSB_ng.egg-info/SOURCES.txt'
      reading manifest file 'WoeUSB_ng.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'COPYING'
      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.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions