Archived
This forum has been archived. Please start a new discussion on GitHub.
python installation problem
brian
in Help Center
I'm probably doing something wrong, but ...
Just downloaded 1.3, made it successfully without errors, and then tried
"python allTests.py" and got this:
Traceback(most recent call last):
File "allTests.py", line 113, in ?
loop = False
NameError: name 'False' is not defined
I did a "python -V" to get the version and it is 2.2 as required.
Did this with 1.2 and it worked.
Any insight would be appreciated.
Thanks,
Brian
Just downloaded 1.3, made it successfully without errors, and then tried
"python allTests.py" and got this:
Traceback(most recent call last):
File "allTests.py", line 113, in ?
loop = False
NameError: name 'False' is not defined
I did a "python -V" to get the version and it is 2.2 as required.
Did this with 1.2 and it worked.
Any insight would be appreciated.
Thanks,
Brian
0
Comments
-
Thanks for bringing this to our attention! It looks like the allTests.py script isn't working anymore with Python 2.2 (support for True and False was added in Python 2.2.1). You should be able to get the script working by replacing False with 0 and True with 1, or by upgrading python to an earlier version. We'll fix this in the next release.
Benoit.0
