scapy-ssl_tls icon indicating copy to clipboard operation
scapy-ssl_tls copied to clipboard

Pip Install Error

Open hasanali586q opened this issue 3 years ago • 4 comments

help me pls

pip install scapy-ssl_tls

` Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\VeyselXan\AppData\Local\Temp\pip-install-0ppcuffu\scapy-ssl-tls_ff3c344cfc674cec87920c36a648f1ad\setup.py", line 31 except AttributeError, ex: ^ SyntaxError: invalid syntax [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.`

hasanali586q avatar Nov 01 '22 06:11 hasanali586q

Change the comma in the setup file to as.

russdm avatar Jan 26 '24 21:01 russdm

It probably won't work after that, as there's another issue generating os permissions. chmod(0755,fname) if you can find the line with that command change it to chmod(0o755,fname) for octal format. Good luck!

russdm avatar Jan 26 '24 21:01 russdm

I think this is a problem with Python 3, might still work with Python 2. But looks like this project is dead, any alternative?

Frank-Buss avatar Jul 27 '24 09:07 Frank-Buss

I think this is a problem with Python 3, might still work with Python 2. But looks like this project is dead, any alternative?

The built-in support

It works, examples, etc are hard to find...

mohag avatar Jul 29 '24 07:07 mohag