Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

'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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants