[yt-users] Installing yt without hg

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Mon Nov 28 18:26:35 PST 2011


At least 3 people that I know of have run into this problem so it
seems like it might be the sort of issue that keeps re-occurring? We
have worked around it here now by asking the system administrators of
the machine to install yt (I'm unsure currently how good they'll be at
updates if we ask, but at present it's fine).

Copying across the tarball does work, but you still need to tweak the
install script to get it to compile. I did this OK, but I remember it
not being a super quick job. Possibly an alternative install script or
directions for copying and modification would work just as well?

Elizabeth


On 29 November 2011 11:12, Cameron Hummels <chummels at astro.columbia.edu> wrote:
> Are there that many people who need this sort of thing?  It was my
> understanding that most people could use mercurial to get the code without
> problems.  In the worst case, you could download the code on a machine that
> *did* have access, and then tar it up yourself and send it to the machine
> that didn't have access.
>
> Perhaps it isn't a bad idea to have a tarball for each point release?  I
> just don't want to make a bunch of extra work if it isn't actually going to
> get used.
>
> Cameron
>
> On 11/28/11 8:58 PM, Elizabeth Tasker wrote:
>>
>> I also had to install yt on a machine done up like Alcatraz. I don't
>> think I had the same error as Dave (it was a while ago) but it did
>> take me a while and a great deal of frustration.
>>
>> Could we maybe consider a tarball for yt that doesn't require any
>> internet access? Even if it's not updated all that often?
>>
>> Elizabeth
>>
>> On 29 November 2011 09:29, David Collins<dcollins at physics.ucsd.edu>
>>  wrote:
>>>
>>> This particular failure is on the installation of pip.  I commented
>>> that out and it looks like numpy has gone just fine and mpl is going
>>> fine, but I imagine when I get to the setuptools that will cause
>>> problems, as well.  More then it gets there.
>>>
>>> d.
>>>
>>> On Mon, Nov 28, 2011 at 5:00 PM, Matthew Turk<matthewturk at gmail.com>
>>>  wrote:
>>>>
>>>> Hi Dave,
>>>>
>>>> Is it dying inside setup.py in yt?  If so, try disabling that in
>>>> setup.py (lines 5&6).  It might break, in which case, we can probably
>>>> get rid of the distribute/setuptools specific options.  I think this
>>>> would be the entry_points option (lines 122-124) and possibly line
>>>> 130.  These options provides the 'yt' command, which maybe we can mock
>>>> up using a script rather than an entry point, and then get rid of
>>>> setuptools altogether.  You will also not be able to use the "develop"
>>>> command if you do not use setuptools/distribute, in which case you'll
>>>> be stuck installing and having to reinstall if you make changes.
>>>>
>>>> I strongly encourage you to file as a bug with the distribute folks
>>>> that you can't install a distribute-bootstrapped package without a
>>>> network connection.
>>>>
>>>> -Matt
>>>>
>>>> On Mon, Nov 28, 2011 at 6:49 PM, david collins<antpuncher at gmail.com>
>>>>  wrote:
>>>>>
>>>>> Hi there--
>>>>>
>>>>> I'm on a system that has a pretty fierce firewall so that things like
>>>>> pip, wget, and mercurial can't see the outside world through any http
>>>>> based protocol.  I got the zips from a different machine and things
>>>>> worked basically fine until I got to the bit where it tries to install
>>>>> easy_install.  (error below)
>>>>>
>>>>> Has anyone had experience with such a problem, and have suggestions
>>>>> for getting around the need for a network connection?
>>>>>
>>>>> Thanks,
>>>>> d.
>>>>>
>>>>> Installing easy_install script to
>>>>> /usr/projects/magnetic/david_c/local/bin
>>>>> Installing easy_install-2.7 script to
>>>>> /usr/projects/magnetic/david_c/local/bin
>>>>>
>>>>> Installed
>>>>> /usr/projects/magnetic/david_c/local/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg
>>>>> Processing dependencies for distribute==0.6.21
>>>>> Finished processing dependencies for distribute==0.6.21
>>>>> After install bootstrap.
>>>>> Creating
>>>>> /usr/projects/magnetic/david_c/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info
>>>>> Creating
>>>>> /usr/projects/magnetic/david_c/local/lib/python2.7/site-packages/setuptools.pth
>>>>> Searching for pip
>>>>> Reading http://pypi.python.org/simple/pip/
>>>>> Download error on http://pypi.python.org/simple/pip/: timed out --
>>>>> Some packages may not be found!
>>>>> Reading http://pypi.python.org/simple/pip/
>>>>> Download error on http://pypi.python.org/simple/pip/: timed out --
>>>>> Some packages may not be found!
>>>>> Couldn't find index page for 'pip' (maybe misspelled?)
>>>>> Scanning index of all packages (this may take a while)
>>>>> Reading http://pypi.python.org/simple/
>>>>> Download error on http://pypi.python.org/simple/: timed out -- Some
>>>>> packages may not be found!
>>>>> No local packages or download links found for pip
>>>>> error: Could not find suitable distribution for
>>>>> Requirement.parse('pip')
>>>>>
>>>>>
>>>>> --
>>>>> Sent from my computer.
>>>>> _______________________________________________
>>>>> yt-users mailing list
>>>>> yt-users at lists.spacepope.org
>>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>>
>>>> _______________________________________________
>>>> yt-users mailing list
>>>> yt-users at lists.spacepope.org
>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>
>>>
>>> --
>>> Sent from my computer.
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list