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 ; os.path.exists ^ invalid syntax line 46 #302

Open
jetson02 opened this issue Mar 2, 2021 · 1 comment
Open

syntax error ; os.path.exists ^ invalid syntax line 46 #302

jetson02 opened this issue Mar 2, 2021 · 1 comment

Comments

@jetson02
Copy link

jetson02 commented Mar 2, 2021

Please provide the following details.

Host System

_(base) ┌──(root💀debian)-[~/datasploit]
└─# cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2021.1"

Python 3.8.5_

Error Description

(base) ┌──(root💀debian)-[~/datasploit]
└─# python datasploit.py
File "datasploit.py", line 46
print os.path.exists(config_file_path)
^
SyntaxError: invalid syntax

If you cloned Datasploit, also provide the output of git log -n 1 --pretty=format:"%B".

(base) ┌──(root💀debian)-[~/datasploit]
└─# git log -n 1 --pretty=format:"%B"
Enabling text report output

@KFDCompiled
Copy link

that's because you're using python3

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