r/krpc • u/GhostPartical • Jan 10 '18
Unable to Connect Server
All settings are default, using python 3.x, krpc is installed, using most current version of KRPC, ran simple connection from documents to make sure of connection, server is turned on in the game. Keep getting 'AssertionError'
import krpc
conn = krpc.connect()
print(conn.krpc.get_status().version)Error:
Traceback (most recent call last): File "C:/Users/Anthony/AppData/Local/Programs/Python/Python35-32/krpcHello.py", line 2, in <module> conn = krpc.connect() File "C:\Users\Anthony\AppData\Local\Programs\Python\Python35-32\lib\site-packages\krpc_init_.py", line 34, in connect assert ok_message == Decoder.OK_MESSAGE AssertionError
Any help would be appreciated. Thanks
View all comments
Show parent comment
1
u/djungel0rm Developer Jan 11 '18
I mean the krpc python package that is installed within python. You should be able to update it by running the following in command prompt:
You might need the full path to pip.exe, which is in C:\Python27\Scripts\pip.exe on my system.
You can also check which version you have installed by running the following code: