[Scons-users] Reproducible "No module named SCons.Script" on multiple Windows installations
Eric Fahlgren
ericfahlgren at gmail.com
Wed Dec 6 10:07:43 EST 2017
As Bill suggests, I've been using pip to install SCons on Windows 64 with
2.7.14. There is an implicit dependency on the "wheel" package, so you
actually need to do two pips (at least there was with 3.0.0, I didn't
revisit that requirement when I installed 3.0.1).
> pip install wheel
> pip install scons
On Wed, Dec 6, 2017 at 6:53 AM, Bill Deegan <bill at baddogconsulting.com>
wrote:
> Does it work if you use pip install?
>
> On Wed, Dec 6, 2017 at 5:13 AM, Damjan Jovanovic <damjan.jov at gmail.com>
> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> 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/20171206/bb177148/attachment.html>
More information about the Scons-users
mailing list