[yt-users] install/compile error

Alexander Heger alexander.heger at monash.edu
Sun Sep 20 01:59:19 PDT 2015


Dear yt team.

It turns out this is caused by a bug in python 3.5.0.  There is now a 
patch (for python 3.5.0)

http://bugs.python.org/issue25150

On 15/09/15 15:02, Alexander Heger wroteMaybe next yt release can be 
adjusted to circumvent running into this bug, but maybe also not necessary.

Best wishes,
Alexander

> Dear Kacper,
>
> I was able to install yt on my old python 3.4.3, but that was using gcc
> 4.9.2 of Fedora 21.
>
> OK, building new python 3.4.3 from scratch using same compiler:
>
> ~>python3
> Python 3.4.3 (default, Sep 15 2015, 14:43:26)
> [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>
> now with that
>
> ~/Python-3.4.3>pip3 install -U yt
> You are using pip version 7.1.0, however version 7.1.2 is available.
> You should consider upgrading via the 'pip install --upgrade pip' command.
> Collecting yt
>    Using cached yt-3.2.1.tar.gz
> pipInstalling collected packages: yt
>    Running setup.py install for yt
> 3 install --upgrade pip
> Successfully installed yt-3.2.1
>
> yt does compile successfully.  So the problem, it appears, indeed is
> with Python 3,5.0 alone.
>
> Of course, I can't tell whether this is an issue with yt (seems less
> likely) or python 3.5.  If you think it is a python issue, please let me
> know, I am happy to submit a bug report.
>
> Thanks for all your help.
>
> Best wishes,
> Alexander
>
> PS - for mpl I often use their current development branch as well - I
> often have to fix things there...
>
>
> On 15/09/15 12:25, Kacper Kowalik wrote:
>> On 09/14/2015 05:58 PM, Alexander Heger wrote:
>>> Dear Matt,
>>>
>>> this installation was not from the latest sources off mercurial, but
>>> just using python's (3.5) pip to install packages directly off the
>>> web.  Usually this goes in just one command w/o extra opportunities
>>> for configuration.
>>>
>>> I have not tried to do it manually from source.
>>>
>>> Thanks.
>>>
>>> Best wishes,
>>> Alexander
>>
>> Dear Alexander,
>> I've just verified that yt works fine with fedora22's native python3 and
>> all deps installed via dnf
>>
>> [root at 88cfea466613 yt]# python3
>> Python 3.4.2 (default, Jul  9 2015, 17:24:30)
>> [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
>> Type "help", "copyright", "credits" or "license" for more information.
>>  >>> import yt
>>  >>> yt.__version__
>> '3.2.1'
>>
>> It also installs fine using fedora's pip:
>>
>> [root at 88cfea466613 yt]# pip3.4 install yt
>> ...
>> Successfully installed yt-3.2.1
>>
>> Same when installed via our own install_script.sh:
>>
>> [fido at 88cfea466613 ~]$ bash /tmp/install_script.sh
>>   Oh, look at me, still talking when there's science to do!
>>   Good luck, and email the user list if you run into any problems.
>>
>> I'm afraid that at this point we don't have enough manpower to support
>> Python versions released less than 24h ago, but as always: we gladly
>> accept patches.
>>
>> As a side note, some of the yt's dependencies are known to *not* support
>> py3.5: matplotlib for example has fixes only in not yet released 1.5.0,
>> same goes for astropy judging by the thread on their mailing list. I
>> haven't checked the others...
>> Cheers,
>> Kacper
>>
>>> On 15 September 2015 at 01:25, Matthew Turk <matthewturk at gmail.com>
>>> wrote:
>>>> Hi Alex,
>>>>
>>>> Looks like you have some weird stuff going on with OpenMP.  Probably
>>>> best to
>>>> manually disable it in yt/utilities/lib/setup.py by having it return
>>>> false
>>>> for the detection.
>>>>
>>>> On Sun, Sep 13, 2015 at 10:10 PM, Alexander Heger
>>>> <alexander.heger at monash.edu> wrote:
>>>>>
>>>>> I know you don't yet quite support prime-time use of python 3.x.
>>>>> But since this is in progress, I provide some feedback.
>>>>>
>>>>> When doing a pip3 install yt I get the attached error message.
>>>>>
>>>>> Best wishes,
>>>>> Alexander
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>
>> _______________________________________________
>> 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