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.

Installation problems with Python2 env

See original GitHub issue

After install, when trying to run fsociety I am getting the following error:

  File "/usr/share/doc/fsociety/fsociety.py", line 705
    """
      ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int """
      Reaver has been designed to be a robust and practical attack against Wi-Fi Protected Setup
      WPS registrar PINs in order to recover WPA/WPA2 passphrases. It has been tested against a
      wide variety of access points and WPS implementations
      1 to accept / 0 to decline
        """)?

I do have Python2 installed.

/usr/bin/env python2 contains Python 2.7.14

Manually executing python2 /usr/share/doc/fsociety/fsociety.p launches the menu. However whenever selecting an option, it returns me immediately to the menu so I can’t see what the error is.

Im running Arch linux.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Vancliefcommented, Jan 30, 2018

@thehappydinoa thanks for the heads-up, will take a look at it.

0reactions
Vancliefcommented, Feb 4, 2018

Hey, sorry I haven’t had time to check this out. I was using pipenv, but will try with virtualenv to see if there is any difference.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Virtualenv does not work correctly on python 2.7 from ... - GitHub
Hello, we are having the same issue. It only happens with python2.7 installed from python.org. Seems like virtualenv is not creating its own ......
Read more >
Virtualenv keeps being built by python 2 rather than python 3
It seems to me that virtualenv/pip is defaulting to using python 2 rather than when building the environment. Not that that environment is...
Read more >
Resolve issues between Python and Linux with virtualenv
To resolve Python and Linux problems, install the virtualenv Python environment isolation tool. Virtualenv creates multiple Python environments ...
Read more >
Install virtualenv for python2.7 on debian 10
I want to use python2.7 with virtualenv . I recently upgraded from debian 8 to debian 10. I originally had python2.7 and pip...
Read more >
Installing Python2.6 in a virtual environment
First, install python2.6 executable. see previous post if you have issues when compiling (gcc not found). Make sure you have installed python- ...
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