Skip to content
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

Cli example #45

Closed
b3mb4m opened this issue Aug 28, 2016 · 5 comments
Closed

Cli example #45

b3mb4m opened this issue Aug 28, 2016 · 5 comments
Labels

Comments

@b3mb4m
Copy link

b3mb4m commented Aug 28, 2016

http://steam.readthedocs.io/en/stable/user_guide.html#cli-example

Traceback (most recent call last):
File "test3.py", line 14, in <module>
client = SteamClient()
File "/usr/local/lib/python2.7/dist-packages/steam/__init__.py", line 16, in __new__
from steam.client import SteamClient as SC
File "/usr/local/lib/python2.7/dist-packages/steam/client/__init__.py", line 22, in <module>
from eventemitter import EventEmitter
File "/usr/local/lib/python2.7/dist-packages/eventemitter/__init__.py", line 3, in <module>
from .emitter import EventEmitter
File "/usr/local/lib/python2.7/dist-packages/eventemitter/emitter.py", line 11
async def _try_catch_coro(emitter, event, listener, coro):
^
SyntaxError: invalid syntax
`

System : Linux b 4.0.0-kali1-686-pae #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) i686 GNU/Linux
Python : 2.x

@rossengeorgiev
Copy link
Contributor

I suspect this is due to an existing package on your system colliding with
one of the dependences.

On Aug 28, 2016 14:48, "Mnemosyne" notifications@github.com wrote:

http://steam.readthedocs.io/en/stable/user_guide.html#cli-example

Traceback (most recent call last):
File "test3.py", line 14, in
client = SteamClient()
File "/usr/local/lib/python2.7/dist-packages/steam/init.py", line 16,
in new
from steam.client import SteamClient as SC
File "/usr/local/lib/python2.7/dist-packages/steam/client/init.py",
line 22, in
from eventemitter import EventEmitter
File "/usr/local/lib/python2.7/dist-packages/eventemitter/init.py",
line 3, in
from .emitter import EventEmitter
File "/usr/local/lib/python2.7/dist-packages/eventemitter/emitter.py",
line 11
async def _try_catch_coro(emitter, event, listener, coro):
^
SyntaxError: invalid syntax
`

System : Linux b 4.0.0-kali1-686-pae #1
#1 SMP Debian 4.0.4-1+kali2
(2015-06-03) i686 GNU/Linux
Python : 2.x


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#45, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACmEE_g8PlooGq3I6lzzGa0OcaTY6RJHks5qkXVzgaJpZM4Ju59t
.

@b3mb4m
Copy link
Author

b3mb4m commented Aug 28, 2016

I'm really not sure that throw million error.

http://pastebin.ubuntu.com/23102265/

Which system do you recommend to run it smootly?

@b3mb4m
Copy link
Author

b3mb4m commented Aug 28, 2016

Just fixed on both py2 & py3-Doing everything manually-

Also in codes has some errors
Traceback (most recent call last):
File "test3.py", line 34, in
print ("SteamID: %s" % repr(client.steamid))
AttributeError: 'SteamClient' object has no attribute 'steamid'

i just delete it and its working now.Hope you can fix these errors soon ~~

@b3mb4m b3mb4m closed this as completed Aug 28, 2016
@rossengeorgiev
Copy link
Contributor

rossengeorgiev commented Aug 28, 2016

It seems the example is outdated. It's best to use virtualenv so you don't
break you system packages.

On Aug 28, 2016 16:07, "Mnemosyne" notifications@github.com wrote:

Just fixed on both py2 & py3-Doing everything manually-

Also in codes has some errors
Traceback (most recent call last):
File "test3.py", line 34, in
print ("SteamID: %s" % repr(client.steamid))
AttributeError: 'SteamClient' object has no attribute 'steamid'

i just delete it and its working now.Hope you can fix these errors soon ~~


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#45 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACmEE7etHpdYrZvkOAT4raNAY1O4pqHWks5qkYgigaJpZM4Ju59t
.

@b3mb4m
Copy link
Author

b3mb4m commented Aug 28, 2016

Just pm you via email can you check it ? Or pm me i need some help about unmentioned functions.

b3mb4m@tuta.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants