5 Jan 2007 19:38
Error with wxPython version
hychen <forums <at> thousandparsec.net>
2007-01-05 18:38:16 GMT
2007-01-05 18:38:16 GMT
Hi! all, I am new to here. :) found this game through http://happypenguin.org, and tought it's really interesting!!! but encountered a little problem after Client has installed. when running 'tpclient-pywx" at start, it checked you have installed the requirements first, but an error appeared on my linux box, the error log was here > > Traceback (most recent call last): > File "./tpclient-pywx", line 10, in ? > import requirements > File "/home/hychen/Desktop/tpclient-pywx-0.2.1-inplace.tar.bz2_FILES/tpclient-pywx-0.2.1/requirements.py", line 33, in ? > if not cmp(wx_version, wx.__version__.split('.')): > File "/home/hychen/Desktop/tpclient-pywx-0.2.1-inplace.tar.bz2_FILES/tpclient-pywx-0.2.1/requirements.py", line 10, in cmp > ver2 = [int(x) for x in ver2] > ValueError: invalid literal for int(): 2pre because the verision of "python-wxgtk2.6" I have installed is " is '2.6.1.2pre', This string maked tpclient-pywxx can't work for me that the function "cmp" in requirments.py forces slice of version list should be an integer . I have done a dirty hack on requirment.py, line 10 in requirements.py(Continue reading)
RSS Feed