Scapy won't install using pip3

Joined
Dec 28, 2023
Messages
3
Reaction score
1
Hello, I'm developing a messaging app that I'm researching and I plan to use scapy to forge custom protocols in python using scapy, but I can't seem to start the installation for it. When using
pip3 install scapy-python3
The following error occurs in the terminal.

error: externally-managed-environment





× This environment is externally managed


╰─> To install Python packages system-wide, try brew install


xyz, where xyz is the package you are trying to


install.
I don't know what to do now.
 
Last edited:
Joined
Jan 25, 2017
Messages
1,271
Reaction score
101
I have just tried ' pip3 install scapy-python3 ' on my imac and it installed with no error.

Have you tried 'sudo pip3 install scapy-python3' ?

Or maybe try using a virtual environment for the install
 
Joined
Dec 28, 2023
Messages
3
Reaction score
1
The problem was homebrew, I recently installed it and ran into this trouble, after removing it I was able to install scapy. homebrew doesn't like installing scripts outside of a venv so uninstalling it was the only solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top