Closed lirigithub closed 3 years ago
I don't know! unittest
should come built-in to python. You could try to run python3 -m pip install unittest
to see if it can be installed separately.
@lirigithub are you still having this issue?
Yes. For now, I marked it as a comment in line 68 in /opt/CPsuite-R81.10/fw1/Python/lib/python3.7/site-packages/humanfriendly/compact.py. There there is a comment that it will be removed. Do you know when it will be done?
I wouldn't know. humanfriendly
is a dependency of the coloredlogs
package that CVDUpdate uses to have colorful logs.
Based on the path /opt/CPsuite-R81.10/fw1/Python/lib/python3.7
, I suspect the issue is with the checkpoint firewall python installation missing the unittest
package (which is super weird).
By chance can you install python 3.6+ some other way to run CVDUpdate?
May I close this issue?
For now yes. Thank you!
On Tue, May 4, 2021, 02:22 Micah Snyder @.***> wrote:
May I close this issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Cisco-Talos/cvdupdate/issues/16#issuecomment-831595795, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWB236IYUHK57LFR6QVXL3TL4V4HANCNFSM42S24GQQ .
Hi
I try to install the cvdupdate using pip install on my linux (based on centos 7) machine.
I get the following issue:
./cvd --help
Traceback (most recent call last): File "./cvd", line 6, in
from cvdupdate.main import cli
File "/Python/lib/python3.7/site-packages/cvdupdate/main.py", line 38, in
import coloredlogs
File "/Python/lib/python3.7/site-packages/coloredlogs/init.py", line 211, in
from humanfriendly import coerce_boolean
File "/Python/lib/python3.7/site-packages/humanfriendly/init.py", line 20, in
from humanfriendly.compat import is_string, monotonic
File "/Python/lib/python3.7/site-packages/humanfriendly/compat.py", line 68, in
import unittest
ModuleNotFoundError: No module named 'unittest'
What is the issue here?