[yt-users] Two different setup.py installs

Junhwan Choi (최준환) choi.junhwan at gmail.com
Tue Apr 21 13:08:54 PDT 2015


Thank you Nathan,
The following is the error message I got.
=================================
......
    import yt
  File "/work/00916/tg459470/common/src/yt/yt/__init__.py", line 121,
in <module>
    from yt.data_objects.api import \
  File "/work/00916/tg459470/common/src/yt/yt/data_objects/api.py",
line 16, in <module>
    from .grid_patch import \
  File "/work/00916/tg459470/common/src/yt/yt/data_objects/grid_patch.py",
line 23, in <module>
    from yt.data_objects.data_containers import \
  File "/work/00916/tg459470/common/src/yt/yt/data_objects/data_containers.py",
line 43, in <module>
    import yt.geometry.selection_routines
ImportError: /work/00916/tg459470/common/src/yt/yt/geometry/selection_routines.so:
invalid ELF header
=================================


-J

On Tue, Apr 21, 2015 at 12:47 PM, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
>
>
> On Tue, Apr 21, 2015 at 7:42 AM, Junhwan Choi (최준환) <choi.junhwan at gmail.com>
> wrote:
>>
>> Hi yt user,
>>
>> I have one naive question.
>> I install yt from the yt source with setup.py.
>> There are two different way you can install.
>> 1) python setup.py develop
>> 2) python setup.py build and python setup.py install
>>
>> What is the different between two approach?
>> Strangely, when I install with 1), the yt is installed but it crash
>> when it runs.
>> However, when I install with 2), the yt is installed and the same
>> script run at this time.
>> Is there anyone had a similar experience?
>
>
> The main difference is the location of the installation.  The former uses
> the clone of the mercurial repository as the "active" installation, the
> latter copies all relavent files to a folder in your python's site_packages
> directory.
>
> Can you share the error message you see under "setup.py develop"?  It's very
> hard to diagnose what's going wrong without a specific error message to look
> at.
>
>>
>>
>> Thank you,
>> Junhwan Choi
>> _______________________________________________
>> 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