LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  December 2013

QSERV-L December 2013

Subject:

Re: Fwd: [HSC Forum] "Installing virtualenv with eups"

From:

Jacek Becla <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Fri, 13 Dec 2013 09:33:47 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (111 lines)

Fabrice

Why do we want to / have to use virtualenv? Can we not
rely on eups and do all the things that we wanted to
do via virtualenv inside eups?

Thanks,
Jacek



On 12/13/2013 09:17 AM, Fabrice Jammes wrote:
>
> For information, a reply from Jim Bosch about eups and virtualenv. It
> seems that mixing this two software may be quite difficult ...
>
>
>
> -------- Original Message --------
> Subject: 	[HSC Forum] "Installing virtualenv with eups"
> Date: 	Fri, 13 Dec 2013 17:09:45 -0000
> From: 	[log in to unmask]
> Reply-To: 	[log in to unmask]
> To: 	[log in to unmask]
>
>
>
>
>
> jbosch <http://hsca.ipmu.jp:8080/users/11/jbosch/> posted a comment
> <http://hsca.ipmu.jp:8080/question/167/installing-virtualenv-with-eups/?comment=169#comment-169>
>
>
> Commented by jbosch:
>
> I think I agree with your statement about what eups' behavior should be,
> but I'm afraid I'm not enough of a eups expert to be able to make that
> change myself (or even understand all its ramifications). I'm somewhat
> concerned about the idea of trying to use virtualenv with eups, though,
> as I think they're likely to conflict in more ways than this. As I
> understand it, both of them want to take control over your environment
> and determine which versions of other packages will be used, and I'm
> concerned that makes them fundamentally incompatible.
>
> In reply to fjammes's question: Installing virtualenv with eups
>
> Hello,
>
> I need to install virtualenv with eups but i run in a tricky problem :
>
> |[eups@clrlsst-dbmaster-vm eups]$ /usr/bin/python -S -c "import traceback"
> [eups@clrlsst-dbmaster-vm eups]$ /opt/lsst/Linux64/python/virtualenv/bin/python -S -c "import traceback"
> Traceback (most recent call last):
>    File "<string>", line 1, in <module>
> ImportError: No module named traceback
> |
>
> So, it seems virtualenv doesn't import all python standard library.
>
> The problems is that after having installed virtualenv, eups use
> opt/lsst/Linux64/python/virtualenv/bin/python and return next error
> message :
>
> |[eups@clrlsst-dbmaster-vm eups]$ eups
> Traceback (most recent call last):
>    File "/opt/lsst/eups/bin/eups_impl.py", line 26, in <module>
>      import eups.cmd
>    File "/opt/lsst/eups/python/eups/__init__.py", line 1, in <module>
>      from exceptions import *
>    File "/opt/lsst/eups/python/eups/exceptions.py", line 5, in <module>
>      import sys, traceback
> ImportError: No module named traceback
> |
>
> So, my build scripts, or setup/unsetup commands doesn't work anymore.
>
> Is there a way to force eups to always use a fixed python version ?
>
> Thanks,
>
> Fabrice
>
> To change freqency and content of these alerts, please visit your user
> profile <http://hsca.ipmu.jp:8080/users/38/fjammes/subscriptions/>.
>
> If you believe that this message was sent in an error, please email
> about it the forum administrator at [log in to unmask]
>
> ------------------------------------------------------------------------
>
> Sincerely,
> Administrator
>
>
>
>
>
> ------------------------------------------------------------------------
>
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the QSERV-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use