SusmithKrishnan / torghost

TorGhost is an anonymization script. TorGhost redirects all internet traffic through SOCKS5 tor proxy. DNS requests are also redirected via tor, thus preventing DNSLeak. The scripts also disables unsafe packets exiting the system. Some packets like ping request can compromise your identity.
GNU General Public License v3.0
850 stars 281 forks source link

The infamous stem issue #113

Open ashasoroushpoor opened 3 years ago

ashasoroushpoor commented 3 years ago

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.

fuki960 commented 3 years ago

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.

Same error as my first time. The problem might be this: ((( # python torghost.py --start Torghost ))) And after this error i tried this one: ((( # python3 torghost.py --start Torghost ))) And it worked for me :)