Closed Keiishu closed 5 years ago
I didn't know this problem with Scapy. Apparently it only happens in Raspberry PI. I can try to force a fixed version of Scapy, but it should not be forced on other architectures without this error.
https://github.com/secdev/scapy/issues/1864
I will study the best way to solve this issue. Thanks!
I didn't know it was only the RPi either lmao No problem and many thanks for your work!
Same error on x86_64:
Collecting scapy
Using cached https://files.pythonhosted.org/packages/d0/04/b8512e5126a1816581767bf95cbf525e0681a22c055bcd45f47ecff60170/scapy-2.4.2.tar.gz
...
error: [Errno 2] No such file or directory: 'LICENSE'
----------------------------------------
ERROR: Failed building wheel for scapy
Running setup.py clean for scapy
Failed to build scapy
Installing collected packages: scapy
Running setup.py install for scapy ... done
Successfully installed scapy-2.4.2
(tmp-f5b3f44388f340c) [nekmo@homura ~/.virtualenvs/tmp-f5b3f44388f340c]$ pip install scapy
Fixed. Thanks!
FTR we ended up removing the tcpdump dependency by using libpcap directly (https://github.com/secdev/scapy/pull/2336).
This is not included in a release as of today (will be in 2.4.4+)
Put an
x
into all the boxes [ ] relevant to your issue (like this:[x]
)What is the purpose of your issue?
Guideline for bug reports
amazon-dash version: 1.3.2
Python version: 3.7.3
Pip & Setuptools version: 18.1
Operating System: Raspbian Buster Lite on a Raspi 3B+ (1.2)
[ ] The
pip install
orsetup install
command has been completed without errors[x] The
python -m amazon_dash.install
command has been completed without errors[ ] The
amazon-dash discovery
command works without errors[ ] I have created/edited the configuration file
[x] Amazon-dash service or
amazon-dash --debug run
worksDescription
At the end of the installation of Amazon-Dash with
sudo pip3 install amazon-dash
, there's an error message caused by the installation of Scapy, including a certain LICENSE file. ►error: [Errno 2] No such file or directory: 'LICENSE'
When trying to run
sudo amazon-dash discovery
, an error message appears :What I did to get it working
Assuming you're on a Debian-based distro or just using the
apt
package manager + using Python 3.x . Otherwise, you need to adapt these commands to your configuration.This is apparently a known issue with the latest stable version of Scapy. At this day, the way to install it properly is to get the latest Release Candidate (v2.4.3rc3 at this moment). ►
sudo pip3 install --pre scapy
This is also a known issue here (#125) but I repost it here as a "bump", a little reminder, because it's only one little package missing. ►
sudo apt install tcpdump