[AstroPy] how to initialize Ureka?
gonghang.naoc
ghang.naoc at gmail.com
Thu Dec 11 00:59:55 EST 2014
Christine, Shashi,
Thank you. The problem is solved now.
hang
On Tue, Dec 9, 2014 at 6:47 AM, Christine Slocum <cslocum at stsci.edu> wrote:
> If you installed it as root, you'll need run the following commands as
> your regular user:
>
> cd /usr/Ureka
> bin/ur_config
>
> The ur_config script will put the ur_setup alias in your login scripts and
> configure ~/.ureka - make sure you answer "yes". Then open a *new*
> terminal window and try typing "ur_setup".
>
> (Also, if you installed Ureka as root, you'll want to make sure you give
> the whole Ureka tree sufficient read and execute permissions.)
>
> Christine
>
> ------------------------------
> *From:* astropy-bounces at scipy.org [astropy-bounces at scipy.org] on behalf
> of gonghang.naoc [ghang.naoc at gmail.com]
> *Sent:* Monday, December 08, 2014 11:42 PM
> *To:* Astronomical Python mailing list
> *Subject:* Re: [AstroPy] how to initialize Ureka?
>
> Hi Shashi,
> I installed ureka in /usr and there is a .profile file in my home, but
> there is nothing in ~/.ureka
>
> [gg at localhost local]$ pwd
> /home/gg
> [gg at localhost ~]$ cat .profile
>
> ur_setup() {
> eval `/home/gg/.ureka/ur_setup -sh $*`
> }
> ur_forget() {
> eval `/home/gg/.ureka/ur_forget -sh $*`
> }
> [gg at localhost ~]$ source .profile
> [gg at localhost ~]$ ur_setup
> bash: /home/gg/.ureka/ur_setup: No such file or directory
> [gg at localhost .ureka]$ ls /home/gg/.ureka/
>
> hang
>
> On Mon, Dec 8, 2014 at 10:29 PM, Shashikiran Ganesh <shashi at prl.res.in>
> wrote:
>
>> On Tue, Dec 9, 2014 at 9:36 AM, gonghang.naoc <ghang.naoc at gmail.com>
>> wrote:
>>
>> > Enter an installation name:
>> > ureka
>> >
>> > I log in a new terminal, and
>> >
>> > [gg at localhost local]$ ur_setup
>> > bash: /home/gg/.ureka/ur_setup: No such file or directory
>> >
>> > You never got similar result before?
>>
>> On ubuntu, the install script updates your .profile (and not .bashrc)
>> So try the following command first:
>>
>> source .profile
>>
>> before calling
>> ur_setup
>>
>> Normally the .profile and/or .bashrc should be automatically called
>> when the terminal is first started (fresh login after finishing
>> installation), but the script would not be read again if it is changed
>> unless you give the 'source' command to re-read..
>>
>> HTH,
>> Shashi
>>
>> --
>> Shashikiran Ganesh, PhD
>> Astronomy & Astrophysics Division
>> Physical Research Laboratory
>> Navarangpura
>> Ahmedabad
>> India
>> http://www.prl.res.in/~shashi
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
>>
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20141210/591ea7af/attachment.html>
More information about the AstroPy
mailing list