question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shlex has not attribute join

See original GitHub issue
(venv) root@ip-10-10-231-252:/opt/pwncat# pwncat 
Traceback (most recent call last):
  File "/opt/pwncat/venv/bin/pwncat", line 33, in <module>
    sys.exit(load_entry_point('pwncat==0.3.1', 'console_scripts', 'pwncat')())
  File "/opt/pwncat/venv/lib/python3.6/site-packages/pwncat-0.3.1-py3.6.egg/pwncat/__main__.py", line 65, in main
    shlex.join(["connect"] + sys.argv[1:]), prog_name="pwncat"
AttributeError: module 'shlex' has no attribute 'join'

I am getting this error when try to run pwncat and pwncat "ssh://user@$IP"

Am I get this correctly installed ? because I did the same thing on my PC and it’s seems work flawlessly, but for newly pulled script and (perhaps) new installed version python, it didn’t.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
calebstewartcommented, Jan 21, 2021

Definitely. I will make that change and close this issue once it’s done!

1reaction
jimmyfishcommented, Jan 21, 2021

Is it possible that you update readme file that mention it required specific python version ?

It’s indeed I can figured it out, but needs consideration for newly person too, please.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: module 'shlex' has no attribute 'join' · Issue #227 ...
Ubuntu - AttributeError: module 'shlex' has no attribute 'join' #227 ... An exception has occurred Traceback (most recent call last): File ...
Read more >
Colab gives me this error: AttributeError: module 'shlex' has no ...
android - Colab gives me this error: AttributeError: module 'shlex' has no attribute 'join'... how can i fix it? - Stack Overflow. Stack...
Read more >
shlex — Simple lexical analysis — Python 3.11.1 documentation
Source code: Lib/shlex.py The shlex class makes it easy to write lexical analyzers ... the commenters attribute of the shlex instance to the...
Read more >
Python pip install error shlex.py - Super User
Python pip install error shlex.py ... in read_token nextchar = self.instream.read(1) AttributeError: 'tuple' object has no attribute 'read'.
Read more >
[Python2] AttributeError: 'module' object has no attribute 'quote'
%s && colcon build' % shlex.quote(os.path.join(extend_path, 'setup.sh')) AttributeError: 'module' object has no attribute 'quote'. See More.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found