Skip to content

Installation for Scapy-python3 (Scapy3k) #19

@irvinhomem

Description

@irvinhomem

I tried to install scapy-http for scapy-python3 using:
pip3 install scapy-http

But it fails with some sort of python2 to 3 conversion issue related to how octals are represented:

Downloading scapy-2.3.2.tar.gz (1.1MB): 1.1MB downloaded
  Running setup.py (path:/tmp/pip_build_root/scapy/setup.py) egg_info for package scapy
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/scapy/setup.py", line 35
        os.chmod(fname,0755)
                          ^
    SyntaxError: invalid token
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_root/scapy/setup.py", line 35

    os.chmod(fname,0755)
                      ^
SyntaxError: invalid token

Not sure where exactly this happens.
NB: I have both Python2.7 and 3.4 installed and both scapy(2)and scapy3k installed respectively, with both working so far without a problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions