archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

"No module named 'parted'" even when parted is clearly installed.

Open aphesist opened this issue 2 years ago • 3 comments

Traceback (most recent call last):    
    File "usr/bin/archinstall", line 5, in <module>
        from archinstall import run_as_a_module
    File "usr/lib/python3.12/site-packages/archinstall/__init__.py", line 11, in <module>
        from .lib import disk
    File "usr/lib/python3.12/site-packages/archinstall/lib/disk/__init__.py", line 1, in <module>
        from .device_handler import device_handler, disk_layouts
    File "usr/lib/python3.12/site-packages/archinstall/lib/disk/device_handler.py", line 9, in  <module>
        from parted import ( # type: ignore
ModuleNotFoundError: No module named 'parted'

Getting this whenever I try running 'archinstall'. Tried on 2 machines, the same thing happens. Parted is installed, it says so whenever I try installing it again.

aphesist avatar Apr 28 '24 01:04 aphesist

Syy python-pyparted && Syy python-simple-term-menu

ghost avatar Apr 28 '24 01:04 ghost

Thanks.

aphesist avatar Apr 28 '24 02:04 aphesist

you're welcome

ghost avatar Apr 28 '24 02:04 ghost