jofpin / jofpin/trape

ModuleNotFoundError: No module named 'six'

Open
#338 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
9k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

$ python3 trape.py -h
Traceback (most recent call last):
File "/home/kali/trape/trape.py", line 23, in
from core.utils import utils #
File "/home/kali/trape/core/utils.py", line 21, in
import requests, json
File "/usr/lib/python3/dist-packages/requests/__init__.py", line 43, in
import urllib3
File "/usr/lib/python3/dist-packages/urllib3/__init__.py", line 11, in
from . import exceptions
File "/usr/lib/python3/dist-packages/urllib3/exceptions.py", line 3, in
from six.moves.http_client import IncompleteRead as httplib_IncompleteRead
ModuleNotFoundError: No module named 'six'
![IMG_20210926_144614](https://user-images.githubusercontent.com/72617624/134801577-61a73567-aee8-4d9f-b39f-1203418d3b15.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `python3 trape.py -h`, then trace the imports from `trape.py` through `core/utils.py` and the `requests`/`urllib3` stack shown in the report. Check how this project declares its Python dependencies and verify that the command completes without the `six` ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.