-
Notifications
You must be signed in to change notification settings - Fork 76
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
SyntaxError: invalid syntax when running antfs-cli #186
Comments
I recently removed the Python 2.7 support since it has reached end of life at the end of last year. Please try with Python 3.6 or above. |
Right, I should have tried Python 3 of course. The installation worked fine. Thx! But now I get another message when I try to pair my 910xt. Driver available: [<class 'ant.base.driver.USB2Driver'>, <class 'ant.base.driver.USB3Driver'>]
|
I just merged a pull request to openant which might have fixed this. Could you try installing again? If not it should be possible to use openant commit ae9e7366fb78b2c39467e1a028b34cfb0c64ffd7. |
installed the update on pi3b+ and got follow error:**
** |
Hi, have reinstalled both Kali and Python3. Get this Timed Out message. ──(anon㉿kali)-[~]
┌──(anon㉿kali)-[~] |
@L150 There should be a new openant out with a fix for this @bluebaer7 Looks like you are also running Python 2.7. It is now unsupported. |
Hi,
I'm running Kali Linux and got this to work in the past, but this time I get a syntax error when trying to run antfs-cli.
The installation went well both with openant ant antfs-cli, at least that's what I think.
Could you guide me how to resolve this?
antfs-cli --pair
Traceback (most recent call last):
File "/usr/local/bin/antfs-cli", line 11, in
load_entry_point('antfs-cli==0.4', 'console_scripts', 'antfs-cli')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/antfs_cli-0.4-py2.7.egg/antfs_cli/program.py", line 181
print(" - Passkey:", end=" ")
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: