-
Notifications
You must be signed in to change notification settings - Fork 170
Description
green79@GreenLaptop:$ sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin parted dosfstools ntfs-3g$ sudo pip3 install WoeUSB-ng
[sudo] mật khẩu dành cho green79:
Đang đọc các danh sách gói... Xong
Đang xây dựng cây quan hệ phụ thuộc... Xong
Đang đọc thông tin về tình trạng... Xong
git is already the newest version (1:2.43.0-1ubuntu7.3).
p7zip-full is already the newest version (16.02+transitional.1).
python3-pip is already the newest version (24.0+dfsg-1ubuntu1.3).
python3-wxgtk4.0 is already the newest version (4.2.1+dfsg-3build2).
grub2-common is already the newest version (2.12-1ubuntu7.3).
grub-pc-bin is already the newest version (2.12-1ubuntu7.3).
parted is already the newest version (3.6-4build1).
dosfstools is already the newest version (4.2-1.1build1).
ntfs-3g is already the newest version (1:2022.10.3-1.2ubuntu3).
0 nâng cấp, 0 được cài đặt mới, 0 cần gỡ bỏ, và 0 chưa được nâng cấp.
green79@GreenLaptop:
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
green79@GreenLaptop:~$ git clone https://github.com/WoeUSB/WoeUSB-ng.git
cd WoeUSB-ng
git apply development.patch
sudo pip3 install -e .
fatal: đường dẫn đích 'WoeUSB-ng' đã có từ trước và không phải là một thư mục rỗng.
error: gặp lỗi khi vá: setup.py:72
error: setup.py: bản vá không được áp dụng
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
green79@GreenLaptop:/WoeUSB-ng$ ^C/WoeUSB-ng$
green79@GreenLaptop: