Giter Club home page Giter Club logo

Comments (5)

ZeroDot1 avatar ZeroDot1 commented on July 19, 2024
Traceback (most recent call last):
  File "/usr/bin/knockpy", line 33, in <module>
    sys.exit(load_entry_point('knockpy==4.1.1', 'console_scripts', 'knockpy')())
  File "/usr/bin/knockpy", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 779, in exec_module
  File "<frozen importlib._bootstrap_external>", line 916, in get_code
  File "<frozen importlib._bootstrap_external>", line 846, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/knockpy-4.1.1-py3.8.egg/knockpy/knockpy.py", line 53
    print """
  _  __                 _                
 | |/ /                | |   """+__version__+"""            
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("""
  _  __                 _                
 | |/ /   

from knock.

nedmarafawi avatar nedmarafawi commented on July 19, 2024

@ZeroDot1 I have the same error as you. Have you found a fix for it?

from knock.

Rataash99 avatar Rataash99 commented on July 19, 2024

I also have the same error,
please let me know if u guys find any fix.

from knock.

velhalsandy avatar velhalsandy commented on July 19, 2024

this problem is for all print statement in all python file.

from knock.

johnsaigle avatar johnsaigle commented on July 19, 2024

This is probably caused by trying to run the (old) python2 version of the script using python3, as OP has done.

The latest release (5.0.0) works with python3.

Otherwise, you could manually run an older version using the command python or python2 on e.g. Kali instead of python3.

from knock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.