Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

The infamous stem issue #113

@ashasoroushpoor

Description

@ashasoroushpoor

Hi
im getting this error when running on ubuntu

`Traceback (most recent call last):
File "torghost.py", line 11, in init torghost
from stem import Signal
ModuleNotFoundError: No module named 'stem'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in
import apt
File "/usr/lib/python3/dist-packages/apt/init.py", line 23, in
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
File "torghost.py", line 11, in init torghost
from stem import Signal
ModuleNotFoundError: No module named 'stem'
`
I tried to fix it for so many hours now forced reinstalled stem and requests many times i even reinstalled python changed the default version and so on i can't find where the problem is .my own python codes and stem library in or outside venv works very fine can somebody give me some insights.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions