[Scons-users] Reproducible "No module named SCons.Script" on multiple Windows installations
Damjan Jovanovic
damjan.jov at gmail.com
Wed Dec 6 08:13:45 EST 2017
Hi
With Python 2.7.14 installed from http://www.python.org using the AMD64 MSI
package on Windows 8, in my %PATH% and working when I type "python" by
itself, if I download SCons 3.0.0 or 3.0.1 and install them with "python
setup.py install --prefix=C:\some\path\scons", then try to run either
C:\some\path\scons\SCons\Scripts\scons.bat or "python
C:\some\path\scons\SCons\Scripts\scons.py", it dies with this exception:
SCons import failed. Unable to find engine files in:
C:\some\path\scons\Scripts\..\engine
C:\some\path\scons\Scripts\scons-local-3.0.1
C:\some\path\scons\Scripts\scons-local
C:\Python27\scons-3.0.1
C:\Python27\Lib\site-packages\scons-3.0.1
C:\Python27\scons
C:\Python27\Lib\site-packages\scons
Traceback (most recent call last):
File "C:\some\path\scons\Scripts\scons.py", line 192, in <module>
import SCons.Script
ImportError: No module named SCons.Script
I get exactly the same problem on 32 bit Windows XP using the Python
bundled with Apache OpenOffice, so it doesn't seem like an isolated problem.
Does --prefix not work when installing on Windows? Is there something I am
missing?
It might be worth noting that the real path to the SCons\Script directory
is C:\some\path\scons\Lib\site-packages\scons-3.0.1, which doesn't appear
in that list of paths printed out.
Thank you
Damjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171206/dc73aa2a/attachment.html>
More information about the Scons-users
mailing list