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

Pip Install Error #168

Open
hasanali586q opened this issue Nov 1, 2022 · 2 comments
Open

Pip Install Error #168

hasanali586q opened this issue Nov 1, 2022 · 2 comments

Comments

@hasanali586q
Copy link

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.`

@russdm
Copy link

russdm commented Jan 26, 2024

Change the comma in the setup file to as.

@russdm
Copy link

russdm commented Jan 26, 2024

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!

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