WoeUSB / WoeUSB-ng

WoeUSB-ng is a simple tool that enable you to create your own usb stick windows installer from an iso image or a real DVD. This is a rewrite of original WoeUSB.
GNU General Public License v3.0
1.6k stars 134 forks source link

Missing Python dependencies #85

Open chr7 opened 2 years ago

chr7 commented 2 years ago

Good Habit Checklist for Issue Reporting

Issue Reproduce Instructions

  1. Create virtual Python 3.10.6 environment
  2. Install WoeUSB-ng according to the installation instructions, i.e. pip3 install WoeUSB-ng

Expected Behavior

No error and WoeUSB-ng installed

Current Behavior

Installations is aborted with error ModuleNotFoundError: No module named 'attrdict' Installed attrdict manually Installation is again aborted, error: ImportError: cannot import name 'Mapping' from 'collections'

Info of My Environment

WoeUSB Version

WoeUSB-ng-0.2.10

Information about the Operating System

Ubuntu 20.04.4 LTS

turtle-94 commented 2 years ago

I guess you are installing this package in python3.10? the Mapping class resides now in collections.abc A workaround would be to create a python3.9 virtual environment. attrdict should update its code to "from collections.abc import Mapping"

tgelter commented 1 year ago

I was able to get past this issue by installing attrdict3 module, rather than attrdict.

LordOfDragons commented 1 year ago

This workaround is not working. WoeUSB-ng is impossible to install on 3.9+ no matter what you try. Needs developer fix => blocker.