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

error running sslstrip.py #31

Closed
MiChaelinzo opened this issue Sep 24, 2020 · 1 comment
Closed

error running sslstrip.py #31

MiChaelinzo opened this issue Sep 24, 2020 · 1 comment

Comments

@MiChaelinzo
Copy link

user@Linux:~/sslstrip$ sudo python sslstrip.py
Traceback (most recent call last):
  File "sslstrip.py", line 27, in <module>
    from twisted.web import http
ImportError: No module named twisted.web
user@Linux:~/sslstrip$ pip install twisted.web
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement twisted.web (from versions: none)
ERROR: No matching distribution found for twisted.web
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.
user@Linux:~/sslstrip$ python sslstrip.py 
Traceback (most recent call last):
  File "sslstrip.py", line 27, in <module>
    from twisted.web import http
ImportError: No module named twisted.web
user@Linux:~/sslstrip$ python --version
Python 2.7.18
user@Linux:~/sslstrip$ uname -a
Linux user 5.8.0-amd64 #1 SMP Debian 5.8.7 (2020-09-14) x86_64 GNU/Linux

@MiChaelinzo
Copy link
Author

MiChaelinzo commented Sep 25, 2020

fixed by downloading pip-20.2.3-py2.py3-none-any.whl
updating into pip 20.2.2
and installing twisted-20.3.0 zope.interface-5.1.0
etc.

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

1 participant