problem running scons
python, scons
Solution
That's Python 2 syntax. I assume scons doesn't run on Python 3. You need to run it using Python 2.
Problem
I am trying to get started with scons. I have Python 3.0.1 and downloaded Scons 1.2.0; when I try to run scons I get the following error. Am I doing something wrong here? ``` C:\tmp\scons>c:\appl\python\3.0.1\Scripts\scons Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\appl\python\3.0.1\Lib\site-packages\scons-1.2.0\SCons\__init__.py", l ine 43, in <module> import SCons.compat File "c:\appl\python\3.0.1\Lib\site-packages\scons-1.2.0\SCons\compat\__init__ .py", line 208 raise Error, "Cannot move a directory '%s' into itself '%s'." % (src, dst) ^ SyntaxError: invalid syntax ```