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

'encoding' is an invalid keyword #73

Open
CarloMartini opened this issue Nov 14, 2018 · 1 comment
Open

'encoding' is an invalid keyword #73

CarloMartini opened this issue Nov 14, 2018 · 1 comment

Comments

@CarloMartini
Copy link

CarloMartini commented Nov 14, 2018

Hello, when I execute the script (all deps are satisfied) I only have this error message:

Traceback (most recent call last):
  File "Cr3d0v3r.py", line 151, in <module>
    main()
  File "Cr3d0v3r.py", line 124, in main
    banner()
  File "/home/elan42/Cr3dOv3r/Core/utils.py", line 22, in banner
    banner = open(os.path.join("Data","banners.txt"), encoding="utf8").read()
TypeError: 'encoding' is an invalid keyword argument for this function

My system:

Linux elan42-mint 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

This happens with the Python version, not with the Docker one.

@00000vish
Copy link

i had the same issue, but when i ran with python3 it worked.

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