[Scons-users] --no-cache-dir

Daniel Moody dmoody256 at gmail.com
Mon Nov 20 14:46:42 EST 2017


Hey Bassem,

For installing SCons through pip, you may need to use pip like this:

pip3 install --egg SCons

I found this on stackoverflow here and tested it out:

https://stackoverflow.com/a/19697682


On Nov 20, 2017 2:06 PM, "Bassem Girgis" <brgirgis at gmail.com> wrote:

Hi All,

I'm trying to build a docker image to host my development env. In doing so
and trying to reduce the size of the final image, I try to install scons by
"pip3 install --no-cache-dir scons". I'm getting this error:

  Running setup.py install for scons: started
    Running setup.py install for scons: finished with status 'error'
    Complete output from command /usr/bin/python3 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-bkga9xu_/scons/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-6hnl2p1k-record/install-record.txt --single-version-externally-managed
--compile:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: option --single-version-externally-managed not recognized

Best regards,

Bassem Girgis, PhD

Email: brgirgis at gmail.com

_______________________________________________
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/20171120/8d243252/attachment.html>


More information about the Scons-users mailing list