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

what can i solve this problems #30

Open
RobiulA opened this issue Sep 6, 2021 · 2 comments
Open

what can i solve this problems #30

RobiulA opened this issue Sep 6, 2021 · 2 comments

Comments

@RobiulA
Copy link

RobiulA commented Sep 6, 2021

python lfisuite.py
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /home/robiul/.local/lib/python3.9/site-packages (21.2.4)

[*] Installing module 'termcolor'
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: termcolor in /usr/lib/python3/dist-packages (1.1.0)
Traceback (most recent call last):
File "lfisuite.py", line 68, in
from termcolor import colored
ImportError: No module named termcolor

@ShivamRai2003
Copy link

cp -r /usr/lib/python3/dist-packages/termcolor.py /usr/lib/python2.7/dist-packages

@a6thmfsin
Copy link

Remove this from the code:

try:
from termcolor import colored
except:
solve_dependencies("termcolor")
from termcolor import colored

And every word in every line which says 'colored'

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

3 participants