Closed roberts011 closed 3 years ago
requirements is installed with pip3 however program is run with python. Try python -m pip install -r requirements.txt
or pip install -r requirements.txt
tried both, didn't work
Try some suggestions from StackOverflow. https://stackoverflow.com/questions/51530437/no-module-named-termcolor?answertab=active#tab-top
Now that is some issue LoL
Try some suggestions from StackOverflow. https://stackoverflow.com/questions/51530437/no-module-named-termcolor?answertab=active#tab-top
Sadly neither are the case for me, only python 3.9 here and correctly spelled termcolor. Btw, whats termcolor for?
Sadly neither are the case for me, only python 3.9 here and correctly spelled termcolor
I don't know what we're missing here.
Btw, whats termcolor for?
Colorful texts in terminal. I will send modified CustomCI.py right away to work without termcolor.
Modified CustomCI.py to work without termcolor
import datetime
def CustomInput(textToInput, color='green', attr=[], getTime=True):
time = GetTime() if getTime else ''
return input(time + textToInput)
def CustomPrint(textToPrint, color='green', attr=[], getTime=True):
time = GetTime() if getTime else ''
textToPrint = str(textToPrint)
print(time + textToPrint)
def GetTime():
return '[' + str(datetime.datetime.now().time()) + '] '
Try this
pip3 install -r requirements.txt --user
Try this
pip3 install -r requirements.txt --user
same result
If you took the module reference out then this is solved right?
No this is just a workaround to continue without this module anyways.
Why not just remove the module reference and put the workaround in as the standard method? less dependencies
Why don't I just put 10-20 commands in readme to copy paste in terminal? No dependencies.
well maybe not in readme, but somewhere where it can autorun
Why don't I just put 10-20 commands in readme to copy paste in terminal? No dependencies.
It was rhetorical
Closing because of inactivity.
Describe the bug wa_kdbe.py doesn't detect the termcolor package.
To Reproduce Steps to reproduce the behavior:
Expected behavior wa_kdbe.py to run
Screenshots
Desktop (please complete the following information):