Re: "pip install scons" result in a broken installation that is unusable

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CG4kiZmMrUbmfDS0raUkeotpvOEJzXqD2Zy0YHfmedmCg@mail.gmail.com>
Sam,

Try:

# update your pip and wheel package there have been significant changes
since py 2.7.14
pip install -U pip wheel
Then retry installing scons.

-Bill

On Wed, Oct 10, 2018 at 3:53 AM Fux Samuel (ID SIS) <[email protected]>
wrote:

> Hi,
>
> I installed scons 3.0.1 with the command
>
> pip install scons
>
> on our hpc cluster, using Python 2.7.14. The installation seems to be
> pretty broken:
>
> [sfux@lo-login-02 ~]$ *pip install scons*
> Collecting scons
> Installing collected packages: scons
> Successfully installed scons-3.0.1
> You are using pip version 9.0.3, however version 18.1 is available.
> You should consider upgrading via the 'pip install --upgrade pip'
> command.
> [sfux@lo-login-02 ~]$ *scons*
> SCons import failed. Unable to find engine files in:
>   /cluster/apps/python/2.7.14/bin/../engine
>   /cluster/apps/python/2.7.14/bin/scons-local-3.0.1
>   /cluster/apps/python/2.7.14/bin/scons-local
>   /cluster/apps/python/2.7.14/lib64/python2.7/site-packages/lib/scons-3.0.1
>   /cluster/apps/python/2.7.14/lib/scons-3.0.1
>   /cluster/apps/python/2.7.14/lib/scons-3.0.1
>
> /cluster/apps/python/2.7.14/lib64/python2.7/site-packages/lib/python2.7/site-packages/scons-3.0.1
>   /cluster/apps/python/2.7.14/lib/python2.7/site-packages/scons-3.0.1
>   /cluster/apps/python/2.7.14/lib/python2.7/site-packages/scons-3.0.1
>   /cluster/apps/python/2.7.14/lib64/scons-3.0.1
>   /cluster/apps/python/2.7.14/lib64/python2.7/site-packages/lib/scons
>   /cluster/apps/python/2.7.14/lib/scons
>   /cluster/apps/python/2.7.14/lib/scons
>
> /cluster/apps/python/2.7.14/lib64/python2.7/site-packages/lib/python2.7/site-packages/scons
>   /cluster/apps/python/2.7.14/lib/python2.7/site-packages/scons
>   /cluster/apps/python/2.7.14/lib/python2.7/site-packages/scons
>   /cluster/apps/python/2.7.14/lib64/scons
> Traceback (most recent call last):
>   File "/cluster/apps/python/2.7.14/bin/scons", line 192, in <module>
>     import SCons.Script
> ImportError: No module named SCons.Script
> [sfux@lo-login-02 ~]$ *which python*
> /cluster/apps/python/2.7.14/bin/python
> [sfux@lo-login-02 ~]$ *which pip*
> /cluster/apps/python/2.7.14/bin/pip
> [sfux@lo-login-02 ~]$ *cat /etc/redhat-release *
> CentOS Linux release 7.5.1804 (Core)
> [sfux@lo-login-02 ~]$
>
> Is this a known problem ?
>
> Can scons be installed with pip without using a virtualenv ?
>
> Best regards
>
> Sam
>
> --
> ETH Zurich, Dr. sc. ETH Samuel Fux
> High Performance Computing, Scientific IT Services
> WEC D 13, Weinbergstrasse 11, 8092 Zurich, Switzerland
> Phone +41 44 632 57 63, http://www.id.ethz.ch/
> [email protected]
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.