[Scons-users] No module named SCons.Script
Jordi Ortolá Ankum
jordi665 at hotmail.com
Thu May 5 17:07:56 EDT 2016
Hi Bill,
Thanks for the reply! I got it working now :DI was running SCons just by running scons, which gave the errors. Now I runned SCons as you told me to: C:\Software\Python27\Scripts\scons.bat That works.
What I don't understand though is that it works this way and not just running scons, which runs the same batch file, because it's added to the path.
Thanks again!
Best regards,Jordi
Date: Thu, 5 May 2016 10:55:35 -0400
From: bill at baddogconsulting.com
To: scons-users at scons.org
Subject: Re: [Scons-users] No module named SCons.Script
Jordi,
Welcome to SCons community.
Sorry you're running into so much difficulty getting started.
Can you show the command line you used to install scons?
Also, typically (on windows) you'll want to run scons.bat from:
C:\Software\Python27\Scripts\scons.bat
-Bill
On Thu, May 5, 2016 at 9:31 AM, Jordi Ortolá Ankum <jordi665 at hotmail.com> wrote:
Hello,
I have been trying to get SCons working now for quite a time, but didn't succeed yet. Before everything else: I'm running Windows 7 x64.
I have firstly installed Python 2.7.11 in C:\Software\Python27 and added both that directory as C:\Software\Python\Scripts to the system path (for all users, that is). Then I installed SCons in C:\Software\Python27\Lib\site-packages\scons-2.4.1, and the scripts in the previous mentioned scripts-directory (the directories which the SCons installation msi defaulted to).
And now when I try to run SCons I get this error message:
As a user I really don't have any idea where the error comes from, other than that SCons can't resolve it's own imports.
I got it working by creating though by creating a new folder: C:\Software\Python27\Scripts\scons-local and moving the contents of the SCons installation folder (...\Python27\Lib\site-packages\scons-2.4.1) to the newly created folder. But this gives me an other error:
I found on Stackoverflow that this error is due to my Python version not supporting conditional expressions, because this kind of expressions are supported from Python 2.4 and higher. The thing is though that I am using Python 2.7.11, and thus I shouldn't get this error.
Any help would be much appreciated!
Best regards,Jordi
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160505/cf2fc6cb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PythonVersion.JPG
Type: image/jpeg
Size: 13683 bytes
Desc: not available
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160505/cf2fc6cb/attachment-0003.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ERROR.JPG
Type: image/jpeg
Size: 97029 bytes
Desc: not available
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160505/cf2fc6cb/attachment-0004.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SyntaxError.JPG
Type: image/jpeg
Size: 127320 bytes
Desc: not available
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160505/cf2fc6cb/attachment-0005.jpe>
More information about the Scons-users
mailing list