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

Bill Deegan bill at baddogconsulting.com
Mon Nov 20 14:48:38 EST 2017


pip install -U wheel setuptools pip
pip install scons

I think this should work.
Please let us know if not.

Thanks,
-Bill

On Mon, Nov 20, 2017 at 2:46 PM, Daniel Moody <dmoody256 at gmail.com> wrote:

> 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
>
>
>
> _______________________________________________
> 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/ff179e7c/attachment.html>


More information about the Scons-users mailing list