Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Token #1

Open
psychomad opened this issue Sep 13, 2017 · 1 comment
Open

Invalid Token #1

psychomad opened this issue Sep 13, 2017 · 1 comment

Comments

@psychomad
Copy link

Hi
I try to install using first
pip install -r requirements.txt
and then
pip3 install -r requirements.txt

because first way didn't work
both way show me

Collecting scapy
Using cached scapy-2.3.3.tgz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-xe7ucgvg/scapy/setup.py", line 36
os.chmod(fname, 0755)
^
SyntaxError: invalid token

But i have scapy already update and working

Any clue?

@philarkwright
Copy link
Owner

philarkwright commented Sep 13, 2017

The script was written for python 2.7 so wouldn't work with python 3. Which linux distro are you using? Try sudo apt-get install scapy. Then try installing the rest and run using sudo python2.7 dga_detection.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants