Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Error #38

Open
iii235 opened this issue May 30, 2020 · 4 comments
Open

Syntax Error #38

iii235 opened this issue May 30, 2020 · 4 comments

Comments

@iii235
Copy link

iii235 commented May 30, 2020

I manually installed all the dependencies for Kali Linux. When I run main.py using python3, I get this error: Traceback (most recent call last):
File "main.py", line 5, in
from Application.stitch_cmd import *
File "/home/kali/Stitch/Application/stitch_cmd.py", line 70
print ""
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?

@iii235
Copy link
Author

iii235 commented May 30, 2020

Nevermind, I fixed the code manually. I have a new problem now.

@iii235
Copy link
Author

iii235 commented May 30, 2020

When I run main.py again, I get this: Traceback (most recent call last):
File "main.py", line 5, in
from Application.stitch_cmd import *
File "/home/kali/Stitch/Application/stitch_cmd.py", line 5, in
import stitch_winshell
ModuleNotFoundError: No module named 'stitch_winshell'
And when I run this (python3 -m pip install stitch_winshell), it doesn't find the module. I can't even use the requirements.txt because everything locks up at the email module.

@iii235
Copy link
Author

iii235 commented May 30, 2020

What happens when I try to use lnx_requirements:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"'; file='"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-midq8f81/email/pip-egg-info
cwd: /tmp/pip-install-midq8f81/email/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 18, in
import setuptools.version
File "/usr/lib/python3/dist-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 36, in
import email.parser
File "/tmp/pip-install-midq8f81/email/email/parser.py", line 10, in
from cStringIO import StringIO
ModuleNotFoundError: No module named 'cStringIO'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@ShailMurtaza
Copy link

What happens when I try to use lnx_requirements:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"'; file='"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-midq8f81/email/pip-egg-info
cwd: /tmp/pip-install-midq8f81/email/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 18, in
import setuptools.version
File "/usr/lib/python3/dist-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 36, in
import email.parser
File "/tmp/pip-install-midq8f81/email/email/parser.py", line 10, in
from cStringIO import StringIO
ModuleNotFoundError: No module named 'cStringIO'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I think this Rat is only compatible with python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants