Question

what is problem

Réflexion

Worked for a few seconds

Réponse

What problem are you referring to? Please share the error message, screenshot, or describe what happened.

Question

$ pip install lolcat
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.

text
If you wish to install a non-Kali-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-Kali-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. For more information, refer to the following: * https://www.kali.org/docs/general-use/python3-external-packages/ * /usr/share/doc/python3.13/README.venv

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.
mahakal@VISHUU:~$ what is solveng

Réflexion

Searched 4 websites

Worked for 7s

Réponse

The error means Kali protects its system Python environment so pip cannot install packages globally. This prevents Python packages from conflicting with software managed by apt. (Kali Linux)

For lolcat, install Kali’s official package:

bash
sudo apt update sudo apt install lolcat

Test it:

bash
echo "Hello World" | lolcat

lolcat is available directly in Kali’s package repository, so apt is the best solution. (Kali Linux Package Tracker)

Avoid this unless absolutely necessary:

bash
pip install lolcat --break-system-packages

It bypasses Kali’s protection and could damage or conflict with the system Python installation.

Question

mkdir L3mon
mkdir: cannot create directory ‘L3mon’: File exists what is problem

Réflexion

Worked for a second

Réponse

The problem is simple: a file or folder named L3mon already exists in your current directory, so mkdir cannot create another one with the same name.

Check it:

bash
ls -ld L3mon

Enter the existing folder:

bash
cd L3mon

Or create a different folder:

bash
mkdir L3mon-new

To create it only when it does not already exist:

bash
mkdir -p L3mon

Be careful with rm -rf L3mon; it permanently deletes the existing folder and everything inside it.

Question

wget https://github.com/efxtv/L3MON/archive/refs/heads/main.zip
--2026-07-25 23:12:03-- https://github.com/efxtv/L3MON/archive/refs/heads/main.zip
Resolving github.com (github.com)... 20.207.73.82, 64:ff9b::14cf:4952
Connecting to github.com (github.com)|20.207.73.82|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/efxtv/L3MON/zip/refs/heads/main [following]
--2026-07-25 23:12:04-- https://codeload.github.com/efxtv/L3MON/zip/refs/heads/main
Resolving codeload.github.com (codeload.github.com)... 20.207.73.88, 64:ff9b::14cf:4958
Connecting to codeload.github.com (codeload.github.com)|20.207.73.88|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘main.zip’ what is solving

main.zip [ <=> ] 21.84M 50.1KB/s y
main.zip [ <=> ] 23.72M 60.3KB/s

Réflexion

Worked for a few seconds

Réponse

There is no error. wget is downloading the ZIP file successfully, but the connection is slow.

This line confirms success:

text
HTTP request sent, awaiting response... 200 OK Saving to: ‘main.zip’

Wait until the terminal shows something like:

text
‘main.zip’ saved

and your normal prompt returns. Do not type y; wget does not need confirmation.

After it finishes, verify the file:

bash
ls -lh main.zip

Check whether the ZIP is valid:

bash
unzip -t main.zip

If the progress stops for a long time, cancel with Ctrl+C and resume:

bash
wget -c https://github.com/efxtv/L3MON/archive/refs/heads/main.zip

Question

(root㉿VISHUU)-[/home/mahakal/Downloads/L3mon/L3MON-main]
└─# ^[200~

zsh: bad pattern: ^[[200~
bash: :s^[200~: substitution failed
Command 'zsh:' not found, did you mean:
command 'zsh5' from deb zsh
command 'zsh' from deb zsh
Try: apt install <deb name>

┌──(root㉿VISHUU)-[/home/mahakal/Downloads/L3mon/L3MON-main]
└─# what is solving

Réflexion

Explaining paste issue

It looks like the user accidentally pasted a bracketed sequence, causing errors in the terminal. I’ll recommend resetting with Ctrl+C, followed by reset and re-opening the terminal.

Worked for 7s

Réflexion

Explaining paste issue

It looks like the user accidentally pasted a bracketed sequence, causing errors in the terminal. I’ll recommend resetting with Ctrl+C, followed by reset and re-opening the terminal.

Worked for 7s

Réponse

The text ^[200~ is a terminal paste-control sequence. It was pasted or interpreted as a command, so Zsh reported bad pattern. It is not an L3MON error.

Press:

text
Ctrl+C

Then type these commands manually, one at a time:

bash
reset exec zsh

After the prompt returns, enter only the actual command you want to run. Do not copy the prompt symbols such as:

text
┌──(root㉿VISHUU) └─#

If ^[200~ appears whenever you paste, temporarily disable bracketed-paste mode:

bash
printf '\e[?2004l'

You can also close the terminal and open a new one. Use Ctrl+Shift+V to paste into the Kali terminal rather than Ctrl+V.

Question

(root㉿VISHUU)-[/home/mahakal/Downloads/L3mon/L3MON-main]
└─# ^[200~

zsh: bad pattern: ^[[200~
bash: :s^[200~: substitution failed
Command 'zsh:' not found, did you mean:
command 'zsh5' from deb zsh
command 'zsh' from deb zsh
Try: apt install <deb name>

┌──(root㉿VISHUU)-[/home/mahakal/Downloads/L3mon/L3MON-main]
└─# what is problem

Réflexion

Worked for a few seconds

Réponse

The problem is that your terminal is receiving the bracketed-paste control code ^[200~ as normal text. It is not a command and not an L3MON error.

Fix it:

  1. Press Ctrl+C.
  2. Run:
bash
reset
  1. If it still happens, close the terminal and open a new one.

When pasting commands in Kali Terminal, use:

text
Ctrl+Shift+V

Do not use Ctrl+V, and copy only the command—not the prompt or error output.

You can also disable bracketed paste temporarily:

bash
printf '\033[?2004l'

Your terminal should then show a clean prompt:

text
┌──(root㉿VISHUU)-[/home/mahakal/Downloads/L3mon/L3MON-main] └─#

Type the next actual command after #; do not type ^[200~, zsh:, or bash:.

Partager cette Q&R