Please describe your issue in detail. Please also include any relevant
stack traces or other error messages. Ideally, if possible, provide a
small snippet that recreates the problem. Finally, fill in the applicable
fields below which describe the environment you witnessed the issue in.
Python-valve Version(s): 0.2.1
Python Version(s): 3.6
Operating System(s)/Platform(s): Windows 10 Home
Game Server(s) and Version(s): TF2
when i run a simple command :
import valve.source.a2s
SERVER_ADDRESS = ("139.99.167.214:27025")
with valve.source.a2s.ServerQuerier(SERVER_ADDRESS) as server:
info = server.info()
players = server.players()
print("{player_count}/{max_players} {server_name}".format(info))
for player in sorted(players["players"],
key=lambda p: p["score"], reverse=True):
print("{score} {name}".format(player))
in cmd it outputs "ModuleNotFoundError: No module named 'six'"
Please describe your issue in detail. Please also include any relevant stack traces or other error messages. Ideally, if possible, provide a small snippet that recreates the problem. Finally, fill in the applicable fields below which describe the environment you witnessed the issue in.
when i run a simple command : import valve.source.a2s
SERVER_ADDRESS = ("139.99.167.214:27025")
with valve.source.a2s.ServerQuerier(SERVER_ADDRESS) as server: info = server.info() players = server.players()
print("{player_count}/{max_players} {server_name}".format(info)) for player in sorted(players["players"], key=lambda p: p["score"], reverse=True): print("{score} {name}".format(player))
in cmd it outputs "ModuleNotFoundError: No module named 'six'"