我在尝试sudo pip install scapy时遇到以下错误,有人可以帮忙吗?
sudo pip install scapy
Collecting scapy
Downloading scapy-2.3.3.tgz (1.4MB)
100% |████████████████████████████████| 1.4MB 1.1MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-uuv1l4x3/scapy/setup.py", line 36
os.chmod(fname, 0755)
^
SyntaxError: invalid token
----------------------------------------